function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kathybbkathybb 

Developer Console giving lots of "Source for ... could not be loaded and getting Operation did not complete messages

I'm attempting to write a trigger that is kicked off by a workflow rule.  Suddenly, when I try to look at the log in the Developer Console there are a bunch of "Source for ... could not be loaded and no debug information in the Source window.  The ... is filled in with String, System, LIST, () parentheses, Database, etc.  When I make a correction and try to Save my code, I'm getting the "long-running Operation did not complete continuing in the background" box.  But when I look at the records, the trigger updated them as it is intended to do.

Can anyone tell me what's going on?  I need to finish the Test code for this trigger and get it deployed, and with no useful information in the Source pane of the console, this is going to be tricky, if not impossible.

Or can anyone suggest ways to get around using the Developer Console?

Thanks,
kathybb
NehalNehal (Salesforce Developers) 
Hi,

This is a common issue with the console. If for any reason the processing is not completed within the 30s timeout, it will not return. To get around this issue, you need to set the logging levels for your requests to filter out the meaningful logs. Also  a workaround for this issue is to go to file menu and Download Log.

Further for your reference, please refer to below links:
1.https://help.salesforce.com/apex/HTViewHelpDoc?id=code_setting_debug_log_levels.htm&language=en_US
2.https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_view_system_log.htm&language=en_US
3.https://help.salesforce.com/apex/HTViewHelpDoc?id=code_dev_console_tab_browser_logs.htm&language=en_US

Hope this helps.