Loading

Salesforce Developer Console Freezes or Shows 'A Script on This Page May Be Busy' Error — How to Reset IDEWorkspace

Publiseringsdato: May 29, 2026
Beskrivelse

When opening the Salesforce Developer Console, the browser may freeze and display the following error (wording varies by browser):
"A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue."
This error is caused by a corrupted or oversized IDEWorkspace record associated with the user's Developer Console session. IDEWorkspace stores the Developer Console's open tabs, query history, and layout preferences. When this record becomes too large or corrupted, the Developer Console fails to load, causing the browser to freeze.

Løsning

 

Steps to Reset IDEWorkspace

Resetting the IDEWorkspace for the affected user clears the corrupted session data and restores normal Developer Console functionality.

  1. Open the Salesforce Developer Console as the affected user.
  2. When the freeze or script error appears, click "Debug Script" to open the browser's built-in Developer Tools. If there is no "Debug Script" button, open your browser's Developer Tools manually (see the Browser Developer Tools section below).
  3. In the browser Developer Tools, go to the Network tab.
  4. Refresh the browser if no network requests are visible.
  5. In the Network tab, find a request whose URL contains IDEWorkspace in the query string — it follows a pattern similar to: ?q=SELECT%20Id%2C%20Name%2C%20Content%20FROM%20IDEWorkspace%20WHERE%20Id%3D%27[ID_VALUE]. Copy the ID value from this URL — it is the IDEWorkspace record ID for the affected user's session.
  6. Use the Salesforce REST API Tooling endpoint to retrieve the IDEWorkspace record. Make a GET request to: /services/data/v40.0/tooling/sobjects/IDEWorkspace/[YOUR_IDEWORKSPACE_ID] — replace [YOUR_IDEWORKSPACE_ID] with the ID copied in step 5.
  7. Confirm that the response shows the correct IDEWorkspace record content for the affected user.
  8. Make a DELETE request to the same URL from step 6 to delete the corrupted IDEWorkspace record.
  9. Re-open the Salesforce Developer Console. The menus and console should now load correctly.

 

Note: Workbench is a third-party developer tool and is not officially supported by Salesforce. If you prefer to avoid Workbench, perform the IDEWorkspace DELETE request using Postman or another REST API client with the Salesforce Tooling API.
Knowledge-artikkelnummer

000387015

 
Laster
Salesforce Help | Article