The Developer Console is an integrated development environment with a collection of tools you can use to create, debug, and test applications in your Salesforce organization.

learn more… | top users | synonyms

1
vote
0answers
23 views

console repeatedly executes anonymous code

Some how, when I last used the developer console....I re-ran a previously entered piece of anonymous Apex code. Now, I find that the console is repeatedly executing that piece of code and I cannot ...
1
vote
0answers
40 views

Issue: Salesforce UI, Developer Console and Eclipse IDE shows different code coverage for the same class. Is anyone experienced this?

This is very much confusing and hard to believe which one is valid. Below screen shot describes the issue as the code coverage for one of the class "OpenDocumentsController" showing 100% (179/179) in ...
0
votes
0answers
26 views

Data displaying in Overall Code Coverage section in developer console is not consistent

The data displaying in Overall Code Coverage section in developer console is not consistent, but displays incorrect code coverage sometimes 100% and sometimes with lesser number. For example, ...
2
votes
1answer
40 views

Correct Date format for Developer Console Query Editor?

I'm trying to debug a SOQL query in the developer console's query editor. This works SELECT Site__c, Cluster__c, Date__c, Num_Att_records__c FROM Session__c Where Session__c.SiteProgram__r.Name = ...
1
vote
2answers
41 views

Developer Console Issuse

Why My Developer Console showing like this, in my developer console i am not able to see the logs, what i want to do.
3
votes
1answer
81 views

Developer console Code Coverage

I am not able to view the classes/triggers which are not covered by test classes.It only shows the classes/triggers which are covered atleast one percent.I need to tackle test coverage of those ...
3
votes
1answer
46 views

Messy Change Log Levels Window

I'm trying to change the log levels in the Developer Console to display the transaction Limits , but I noticed that the window now displays +30 Settings, so I have no idea which one I should update. I ...
0
votes
0answers
32 views

Can't query tasks

I've tried executing the following query in both the Developer Console and the Force CLI and I get no response. Select Id from Task where My_Field__c != null limit 1 In the developer console I get ...
1
vote
1answer
41 views

Developer console Profile object query not executed

I have query that will execute the Profile object Query in Developer console. My query : SELECT Id,Name,UserType,objectPermissions,userPermissions from Profile Error: SELECT ...
5
votes
2answers
86 views

Test classes with Developer Console

Is there any way of solving this bug? Basically, whenever I try to run a test (Username > Developer Console) I can run the tests and all but when I get to the part where I want to check the red & ...
2
votes
2answers
25 views

In System Logs what does the false|true mean for Variables

There's a lot I don't understand about the Execution Logs from Salesforce. Maybe some of it is just my limited programming experience (Apex mostly, smattering of Python). I feel like there must be ...
1
vote
1answer
60 views

Clear Developer Console Test Run Results [duplicate]

Being familiar with the Developer console.. Can Any one tell me how to clear the test run results area in the developer console This is the section that I want to clear...
3
votes
2answers
72 views

developer console: clear tests list

I need to test a bunch of test classes. The test runs are collecting in a huge list so i do not get an overview anymore. Is there any way to clear this list? Debug -> Clear seems not to work ...
3
votes
1answer
174 views

When I load the developer console, I get a “Total Requests Limit Exceeded” error

When I load the developer console, I get a "Total Requests Limit Exceeded" error. This is on a dev org. I have been using the Force.com IDE all day, and have been writing alot of unit tests (and ...
10
votes
1answer
174 views

How to limit API calls when using the Developer Console?

In a Winter '14 Developer Edition and Spring '14 Pre-release I have noticed that using the Developer Console uses API calls. It looks like this affects third party tools like MavensMate as well. The ...
4
votes
3answers
494 views

Code coverage on dev console

A quick question. We used to have a code coverage highlighted in dev console on which lines of the class are covered and not covered before. Has salesforce removed this option or do i need to ...
1
vote
1answer
96 views

Developer console “Long running operation” error when opening checkpoint

In the developer console I set a checkpoint in a class and ran the unit test. When I double-click the checkpoint, I get a popup window "Long running operation did not complete, continuing in ...
1
vote
2answers
84 views

while deploying this code error still i didnt got the correct solution

trigger quotepotential on Quote_Line_Item__c (after insert,after update) { Set<id> uniqueNames=new Set<id>(); for(Quote_Line_Item__c a :Trigger.new) { ...
7
votes
3answers
507 views

Why do Apex Unit Test CLASSES sometimes FAIL when all the contained METHODS PASS?

For the past month or so, I've noticed that when I execute some (not all) unit tests from within the Developer Console, sometimes the Status for folders display as failing (red X) even if/when all ...
6
votes
1answer
59 views

Can anonymous code be executed with clean slate data, like test methods?

Is there a way to execute anonymous code in a way that existing data on the org is not accessible, like when test methods execute? A proper test method cannot be used as they are only allowed in top ...
5
votes
2answers
400 views

Failed to create deployment: This container has a save in progress with deploymentId=[YOUR-DEPLOYMENT-ID]

I received this error message yesterday in the Developer Console, preventing me from saving any new code (Apex, Visualforce) for the past 24 hours. FIELD_INTEGRITY_EXCEPTION Failed to create ...
10
votes
1answer
301 views

Winter 14 Apex Test Execution - tests never finish

Winter 14 - sandbox cs9 I have 50+ test classes; I do Apex Test Execution | Select tests | select all. Disable parallel testing = true Store only aggregated test coverage = true I select all ...
4
votes
2answers
125 views

Unable to edit Visualforce pages/components in Developer Console

Over the last couple of months, across all orgs used by my development team, we have noticed that the Developer Console refuses to allow anybody to save changes made to Visualforce pages or ...
8
votes
2answers
311 views

Deployment Error on save from Developer Console

I noticed that I cannot save orupdate any code from the Developer Console (Apex Classes, Visualforce...). When I try to save a file, I get an error similar to this one: An unexpected error has ...
13
votes
3answers
1k views

Developer Console Winter 14 anomalies

Ever since Winter 14 went into my sandbox, I'm bedeviled by Developer Console issues Test Run creates an entry in the Tests tab labeled Test @Invalid Date Once I run a test of an Apex class, ...
6
votes
1answer
97 views

Why aren't Visualforce errors showing up in the Developer Console?

I'm fairly sure Visualforce error messages used to appear in the Developer Console (prior to Winter '14), but they're not showing up for me. The Log Levels are all set to FINEST. Is there ...
5
votes
2answers
1k views

Debugging logs in Developer Console is not working

I have had some problems debugging lately. For one thing I had problem even registering a user to monitor. This was because of Winter '14 and there is a fix for it (see this post). This way you will ...
17
votes
5answers
3k views

Code Coverage column for apex class missing

I used to view % of code coverage in [Code Coverage] column for apex classes, after I run the test class. Now the column is missing. I notice about one week ago. How can I get it back as it is so ...
4
votes
1answer
178 views

Batch execute is slow because of huge unused gaps in DevConsole timeline

I have a long running batch that is taking days to execute and creates millions of records. To speed it up I used the profiling tools of the Developer Console. Per batch execute() I see this timeline ...
2
votes
2answers
2k views

Export Results from Developer Console - Query Editor?

I'm a huge fan of the Query Editor in the SFDC Developer Console: Is there a way to export the table of results as JSON/csv/excel or in some format that can be consumed by Excel? (I know that I ...
3
votes
1answer
110 views

The sit and wait development model

I am new to force.com, so this might be a dumb question, but all the googling didn't help me. Let's say I am working on a VisualForce page in Eclipse. I make changes and press save, so that I can ...
3
votes
3answers
141 views

Tracking errors in batch impossible as Dev Console stops logging or breaks with Server error

When single batch jobs fail only the last one is party shown in the Apex Logs page. This is not enough for debugging. A better way ist to check the log entries that are written per batch execute. ...
3
votes
1answer
82 views

updating the data with new field impacting lastmodifiedby and salesforce internal error

I have the ContentVersion object, where I have a custom field called Year__c, which was initially set as text but I need to change it to a number field. but If I change it to number field, Salesforce ...
3
votes
1answer
53 views

How to troubleshoot user error messages?

What is the best way to troubleshoot errors encountered by users? Normally, I try to reproduce the error in an System administrator User Account to see the output in the Developer Console. This way, I ...
1
vote
0answers
14 views

Display text on hover over Custom Console Component [duplicate]

I have a Custom Console Component(displayed in console) which when clicked on opens a vf page. I want to display text "Test" whenever user points its mouse over this component. How can i do this? This ...
5
votes
1answer
257 views

How can I capture Heap Dumps for other users?

Some of my users are experiencing a strange behavior that I can't yet reproduce in a Sandbox, so I'm trying to monitor the bug more closely in our production database. Since I'm in a production ...
8
votes
3answers
574 views

Inconsistent logging output!

I am trying to log some values for general testing and I am getting some really strange behaviour. Some of the logs are just not printing. This is what is happening: I am pressing a button that runs ...
6
votes
2answers
373 views

Force a Unit Test to run immediately inside Salesforce Web UI?

Is there a way to force a unit test to run immediately? You used to be able to go to App Setup > Developer > Apex Classes > [ClassName] > Run Test button. This used to begin processing a unit test ...
16
votes
1answer
1k views

Developer Console - Issues in Chrome Spring '13?

Has anyone else been experiencing issues with the Developer Console simply sporadically erroring out in Google Chrome since the new release? Anything I can do to fix this? EDIT: I tried Peter's fix ...
7
votes
4answers
1k views

Organization Administration Locked…?

After having my Developer Console not be able to save a class that I edited, I faced this error message when trying to edit/save the class directly in the browser: Organization Administration Locked ...
5
votes
2answers
194 views

System.UnexpectedException: User defined type found in unsupported code path

I have a complex codebase containing numerous custom classes, subclasses, inner classes, and enums. (I specifically mention this, as I have a hunch the enums are the cause, but I can't replicate in a ...
10
votes
3answers
195 views

How can I speed up Developer Console?

Since Salesforce have moved their test execution to be asynchronous in Spring '13 we are forced to use the Developer Console to see Code Coverage for a single test class. My issue with this is that ...
11
votes
2answers
837 views

How to efficiently profile Visualforce components and their controllers?

I have a quite complex Visualforce component (edit grid) that is running to slow (2-4 seconds to display) When I say complex I mean: The Component itself is calling other components Many thousand ...
5
votes
2answers
396 views

Schema.getGlobalDescribe returning different data from Developer Console

I'm trying to see if an object exists using the following code: public with sharing class GenericUtils { public static Boolean doesObjectExist(String objectName) { Map<String, ...
1
vote
2answers
140 views

How can I refresh the log list in the Developer Console?

My latest debug log always seems missing in the Logs browser when I am working in the Developers Console. Is there a way to force the list of logs to refresh? The only workaround that seems to work ...
1
vote
3answers
222 views

On upgrade to Salesforce 26.0 Api, Test Case is not pulling any data in Console

I am running a test case , I have upgraded my Salesforce Sandbox to latest version Api (26.0). Running SOQL individually give me results but while using Console I ran in error where SOQL comes out ...
5
votes
1answer
821 views

Why are code coverage results different in IDE and developer console?

The Apex coverage results for unit tests in the Force.com IDE and the developer console are very different. I just ran 2 tests in both and got: test 1 IDE: 75 lines not tests, 68% covered Developer ...
1
vote
2answers
2k views

no viable alternative at character ' ' What does this mean?

There is a method in a class which i am trying to call from developer console. Here is the definition of the class public static void ruleEngine(String rule, Date eventdate, String area, Boolean ...
2
votes
1answer
126 views

Creating a Class in Dev Console Gives a 500 Error

I am able to create the class in my browser and then edit it in the dev console, but I'm not sure why it won't let me create a class directly from the console.
0
votes
1answer
226 views

Developer Console Takes Lot of Time to load

Anybody has any idea why developer console of mine taking very long time to load after winter 13 release ?