Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
46 votes

Export Results from Developer Console - Query Editor?

UPDATE For faster use add a bookmark, pick a name and paste the following code to the URL: javascript:(function(){function e(e){var t=new RegExp(/["]/g),n=e.replace(t,"“"),t=new RegExp(/\<[^\<]+...
user avatar
  • 839
37 votes
Accepted

Developer Console is not loading

Below are the steps for resolution Salesforce provided 1. login and open Developer Console by Chrome 2. open Developer tools and select Network 3. reload on Developer Console Use the following query ...
user avatar
  • 1,301
29 votes
Accepted

Dev Console Query Error - SObject Type Is Not Supported

Please uncheck Use Tooling API checkbox and try. Use tooling API checkbox is available on developer console -> query editor -> execute button -> use tooling API.
user avatar
  • 588
27 votes
Accepted

Dev Console jumpy on mouse scroll

Go to chrome://flags/#enable-scroll-anchoring the highlighted option is Scroll Anchoring disable it. Now you will see the message "Your changes will take effect the next time you relaunch Google ...
27 votes
Accepted

How do I debug my lightning component?

General Tools and settings: use Chrome + built in Dev Tools + Lightning Component Inspector be sure debug mode is enabled in your org (Setup: Lightning Components) be sure caching is disabled in your ...
user avatar
26 votes
Accepted

Not showing Test code coverage on developer console

Go to the 'Apex Test Execution'and in option select list deselect the 'Store Only Aggregated Code Coverage' checkbox.
user avatar
18 votes
Accepted

Developer Console can SELECT or COUNT() more than 50.000 records. Why not Apex?

Apex uses more resources than a simple API call, such as extra memory, CPU time, etc, so there's additional limits in place. The Developer Console, contrariwise, uses the API, which is just a server-...
user avatar
  • 430k
17 votes
Accepted

Developer Console suddenly truncating System.Debug output

Sounds like they added something to the Dev console to truncate long lines in spring 19 (On March 20, 2019 according to the Release Note changes). Developer Console: String Values in Debug Logs Are ...
user avatar
16 votes
Accepted

Cannot save in DevConsole or Force IDE due to "unfinished save request" - How to resolve?

Try to cancel the save, refresh the console, or both. To cancel the save, right click on the tab and click "Cancel Save". You can also click on the "Progress" tab on the bottom and click "Cancel All ...
user avatar
  • 811
16 votes
Accepted

What permission you need to have Developer Console work?

To use the Developer Console at all, you need the View All Data permission. To run queries, you need to have the API Enabled permission. To modify classes and triggers or run anonymous code, you ...
user avatar
  • 430k
15 votes

Maximum log level exceeded in Developer Console

I believe I saw the fix to this on SFSE, but can't seem to find it now. When having this issue, run this query in your Query Editor: SELECT Id FROM ApexLog Then simply delete all rows.
user avatar
  • 142k
15 votes
Accepted

Status 500, Internal server error when calling Apex from LWC

You are suppose to call the method like myCoolFunction({myParam:'param'}).then(result=>{ console.log(JSON.stringify(result)); }).catch(error=>{ console.log(...
user avatar
  • 2,804
14 votes

Developer Console is not loading

Everytime my Dev Console hangs while loading I do the following: copy the url from the Dev Console window open new tab in browser's main window paste URL there Hope that works also for you. UPDATE: ...
user avatar
  • 694
14 votes
Accepted

Maximum log level exceeded in Developer Console

The short term solution is to keep playing whack-a-mole~ApexLog as Adrian has suggested. Longer term, the problem comes back to the Summer'18 update Store Larger Debug Logs with Changed Log Limits: ...
user avatar
13 votes
Accepted

Correct Date format for Developer Console Query Editor?

Try: SELECT Site__c, Cluster__c, Date__c, Num_Att_records__c FROM Session__c Where Session__c.SiteProgram__r.Name = 'Brattleboro' AND Date__c = 2012-11-06 Note the leading 0 on the 06. The ...
user avatar
13 votes
Accepted

isDeleted=True is not working in SOQL query

Did you check "Deleted and archived records:" as "Include" ? And as for the Developer console, you have no way to do it. You can do with Apex using SOQL with the "ALL ROWS&...
user avatar
13 votes

Dev Console jumpy on mouse scroll

There is a Known Issue for this - Developer Console jumping when using mouse scroll Summary When working in any piece of code in the Developer Console (apex class, lightning component, trigger ...
user avatar
12 votes

Code coverage on dev console

Goto setup -> Develop -> Apex Test Execution and click the Options button. Make sure "Store Only Aggregated Code Coverage" is UNCHECKED That fixed the issue for me.
user avatar
  • 251
12 votes
Accepted

Developer Console, Execute Anonymous - HTTP CODE[414]

The Developer Console is using the REST version of the Tooling API to perform the execute anonymous call. The length issue is a restriction of how the call encodes the apex into the URL. /...
user avatar
12 votes
Accepted

Is Developer Console going to be deprecated?

Update from the June in the year 2020. At TrailheaDX this year Salesforce announced the Code Builder pilot - Introducing Salesforce Code Builder. Combine that with the Salesforce Dev Podcast Episode ...
user avatar
11 votes

Unable to open developer console

I had the very same problems on Sandboxes. I have opened Salesforce ticket and they referred me again to this SSE post. And also to a similar SSE post. Jermaine's answer to that post helped for me. ...
user avatar
  • 13.2k
11 votes
Accepted

How to run an asynchronous job in developer console?

I suspect you won't be able to get true asynchronous anonymous code working. The problem is that your anonymous Apex only exists for the transaction it was created in. By the time the asynchronous ...
user avatar
10 votes

Stuck saving code

After many wasted hours, I found an unexplainable ritualistic solution. It was mentioned as a small comment on another question. The ritual is as follows: Cancel the endless 'saving' operation in ...
user avatar
  • 451
9 votes
Accepted

Clear logs in Developer Console

The above diagram shows how to clear the logs in developer console
user avatar
9 votes

isDeleted=True is not working in SOQL query

Are you using the "QueryAll()" API call when you try to retrieve the delete records? Using the regular "Query()" call won't allow you to retrieve delete records. See the API documentation on the "...
user avatar
  • 1,298
9 votes
Accepted

Why does the Developer Console show different extensions like "apxc" and "apxt"?

I suspect the apxc extension for Apex classes and apxt for triggers is specific to the Developer Console. .cls and .trigger are the extensions that the Metadata API expects. The file suffix is .cls ...
user avatar
8 votes

Developer Console : Failed to create createContainerMember for containerId

Try going to the the Progress Tab in the Developer Console and click on Cancel all deployments. This worked for me. Failed to create deployment: This container has a save in progress with ...
user avatar
8 votes

Salesforce Developer Console - Getting a stack trace easily

@NSjonas answer is good. I thought I'd add some more options. System.debug It's not ideal, as you need to modify the code to use it. Try something like: System.debug(LoggingLevel.Error, new ...
user avatar
8 votes
Accepted

Where is the Lightning tab in the developer console?

Wrong Developer Console. While viewing the app or in LEX, press F12 to bring up the browser's Developer Console. It'll be far off on the right, you might need to click the >> arrow to see it.
user avatar
  • 430k

Only top scored, non community-wiki answers of a minimum length are eligible