Dev Console Debug Log Becoming Unreliable?

Has anyone else noticed that the Debug Logs in the Developer Console are becoming notoriously unreliable? I am finding that often when I run code through Execute Anonymous in the hopes of examining the resulting Debug Log, none is generated there, even if it shows up in Logs > Debug Logs. I have tried switching around my Workspace and some other strategies, but it seems really inconsistent as far as I am able to observe.

UPDATE

From what I can tell, the most reliable fix for this issue is to instantiate a Debug Log for the running User (Setup > Monitor > Logs > Debug Logs).

Answer

I’m not sure if this is the same issue, but if you go to Debug > Change Log Levels.. you may see that one or more items have expired.

For me, if I set the Expiration value to a time later than now, the debug logs start working again.

Attribution
Source : Link , Question Author : Adrian Larson , Answer Author : Nick Cook

Leave a Comment