Has anyone else noticed that the
Debug Logs
in theDeveloper Console
are becoming notoriously unreliable? I am finding that often when I run code throughExecute Anonymous
in the hopes of examining the resultingDebug Log
, none is generated there, even if it shows up inLogs > Debug Logs
. I have tried switching around myWorkspace
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 runningUser
(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