Debugging is Force.com's way of printing the specified message, in string format, to the execution debug log with the specified log level. Called using System.debug which takes either single parameter of message or two parameters of message and log level.

learn more… | top users | synonyms

3
votes
2answers
49 views

Code Debug Help? Why is this Map returning containsKey false on some records? (Code Inside)

Background: My company sells software. In my org, we sell subscriptions to our software and addons, or subscriptions for software support. We have 3 main types of subscriptions (Support, ...
0
votes
0answers
32 views

Debug issue with Apex Class

I'm having issues understanding my debug log. I have the following debug statements line #s 124-129: 124 System.debug( 'OPP RECORD TYPE: ' + opp.RecordTypeId ); 125 System.debug( 'PASS RECORD ...
0
votes
1answer
12 views

Compile Error: Constructor not defined: [ApexPages.StandardController].<Constructor>(List<Partner__c>)

I'm trying to write an apex test class for my apex (extension) of my visualforce page which display list of partners from partner__c sObject and do some actions on its rows like edit and delete. ...
4
votes
1answer
34 views

Spring 16 Developer Console - menus inoperative - Uncaught TypeError: b is not a function

Between 2016-01-19 and today, 2016-01-22, my Developer Console stopped working in Spring 16, cs21. Symptoms: All menu items do not drop down to a list of actions (instead, empty dropdown) No tabs ...
0
votes
1answer
16 views

There are no messages in Monitor/Debug Logs after call of System.debug

There are no messages in Monitor/Debug Logs after call of System.debug. However I can see them in Developer Console. System.debug(Logginglevel.INFO,'MsgTxt'); ...
0
votes
0answers
13 views

Is it possible to turn on/include Execution Log into Debug Logs in Salesforce?

Is it possible to include Developer Console/Execution Log into Monitor/Debug Logs in Salesforce? I mean that very Execution Log that is in Developer Console. I need that verbose logging for day or ...
0
votes
0answers
13 views

Any way to save log files of all user per day/week/month in salesforce?

In my company ,there are 50 salesforce licence .some of them are getting some exception while using salesforce apex class programs they are not giving me good information to check where the exceptions ...
0
votes
0answers
12 views

Quick way to turn off logging for a number of apex classes?

With Winter 16 release - you can now set the logging level for individual apex classes. But this seems very manual and you have to set it for a specific time period. Can anyone suggest a better way ...
1
vote
2answers
37 views

VF Controller System.debug output not appearing in log file

I've got my Apex Code debug log level set to FINE (was DEBUG) and System debug log level set to FINE (was DEBUG). I'm still not seeing the result of my system.debug statements in the log file. I've ...
4
votes
2answers
40 views

Apex Debug logs not showing

I am having a huge issue of debug logs not showing. In a piece of code I know for sure that is being hit I have the System.debug statement that should be printing but it's not. If I take out the ...
1
vote
2answers
37 views

Apex Job - Writing to a log

I have been working with a few classes in the Developer Console and Execute Anonymous Window. All of these classes have various system.debug() calls through the code - the log entries are used for ...
0
votes
1answer
23 views

Debug Log of deployment test execution

Is it possible to see debug logs from Deployment Tests? I'm having some test's fail and it would be very helpful to see the logs.
2
votes
1answer
103 views

Decimal point result shows differently

I have Amount filed and its data type is number(16,2). When I see that field value by SOQL in Developer console then its 1525.54, I use same query in trigger and I see that value by system.debug() ...
0
votes
0answers
27 views

Page & controller load time!

To completely capture the page load time, i am using firebug(Firefox) to check the page load time which includes images / CSS / HTML etc. On the other had, i am using debug logs to check the load ...
1
vote
0answers
34 views

Large delay between FLOW_BULK_ELEMENT_BEGIN flow element and FLOW_CREATE_INTERVIEW_BEGIN

We have a flow, and have noticed it has greatly increased the time it takes for a bulk (200 record) transaction to complete. We've narrowed down the delay to a 78 second delay between ...
2
votes
1answer
67 views

Unable to set the Debug Level

I'm having trouble with the new Debug Log interface. I have set the traced entity to "Apex Class" and added the class file I want to trace. It is actually a trigger that dispatches out to the apex ...
1
vote
0answers
32 views

Large time gap in debug log before ENTERING_MANAGED_PKG

When viewing a debug log where the logging level was set to: APEX_CODE,FINEST;APEX_PROFILING,INFO;CALLOUT,INFO;DB,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,INFO;WORKFLOW,INFO I am seeing a ...
3
votes
1answer
46 views

best apex debug log tool [closed]

What tool do you consider the best for analyzing Apex debug log? Are standard ones (Notepad++, Vim, etc) good? Any special plugins you think useful?
3
votes
1answer
1k views

Lightning App: how to fix [Exception, DomainNotPropagated] error

I'm working on Lightning Components which should be used it a Community created by the Community Builder. This gives me a very hard time to debug the components as described here: What is the best way ...
3
votes
1answer
281 views

What is the best way to debug Lightning Components (used in the Community Builder)?

I have a lightning component elfTest1 used on a page elf. The page itself is used as internal URL in the community builder wired via the menu. Now in case of a JavaScript error in ...
2
votes
1answer
65 views

Unable to Change Log Levels - Winter '16

Working in sandbox with Winter '16 and when I try to change the log levels the page stalls I've checked the known issues list and haven't gotten any results. Has anyone run to this? Any workarounds ...
0
votes
1answer
10 views

Returning user profile, and debugging

I am not returning the correct profile. I have recently had this working but it isn't now. Am also having issues debugging. The debug line system.debug(userProfileName); gives me an error: ...
36
votes
4answers
1k views

Apex debugging in Winter '16 - how well does it work?

This Debug Apex Code in Eclipse (Generally Available) release note says: The Apex Debugger extends the Force.com IDE plug-in for Eclipse and behaves similarly to debuggers available for other ...
2
votes
1answer
118 views

Maximum stack depth reached: 12

In our code, at some point we do 73: if(someObj.SomeExternalId__c.equals(activeContract.SomeExternalId__c)) 74: someObj2.activeContract__r = activeContract; 75: } But it fails with "Maximum ...
4
votes
1answer
125 views

How to see the entire resultset in the debug log instead of (n more)?

Good Morning, Thanks in advance for reading. Is there any way to display the whole sObject in the resultset returned by SOQL query instead of the (n more) below e.g. 30 more, 22 more etc. ? I am ...
1
vote
2answers
189 views

System.debug() not appearing in batch test

I am running a test on a batchable class. @isTest public class BatchSkillExcalationUpdaterTest { static testMethod void ValidateUpdates() { ... EscalationSkillUpdater SkillBatch ...
10
votes
2answers
979 views

What is Debug level in new Salesforce Edition?

I wanted to set the debug log to test a class but today after few days when I was trying to set it, I saw its new look and feel in winter'16 release. It asked for event, level etc. I am unable to set ...
1
vote
3answers
58 views

Debug suddenly stops recording debug logs [duplicate]

I am having very very very frustrating problem here. I am coding my app, dumping to debug logs whatever I need and everything works magically. But at some point apex stops printing my debug logs. So i ...
0
votes
2answers
27 views

Inner class using container class

public class containerClass { private String checkAccess; public void checkAccessFunc(){ } public class innerClass{ public String InnerClassStr; ...
0
votes
1answer
24 views

Debug Log Limits? Can I not reset the available request and watch log as many as I want?

Do I have to create a record under "Monitored Users" when I want to debug something? I didn't have to do this early this year and I was able to monitor as many debug logs as I want. Can I not reset ...
10
votes
2answers
52 views

Dev Console Debug Log Becoming Unreliable?

Has anyone else noticed that the Debug Logs in the Developer Console are becoming notoriously unreliable? I am finding that often when I run code through Execute Anonymous in the hopes of examining ...
0
votes
0answers
32 views

Record not created as debug log reports

In my sandbox I am debugging a Web-to-Lead issue that has to do with the custom Lead trigger code. I have a trigger handler that get's called after lead insert. The handler does a few things like ...
0
votes
2answers
49 views

No debug while executing VF page with force.com site

The system does not show me the controller debug log of my VF page. the VF page is viewed with site. and I added a guest user as a monitoring user. Any Idea?
1
vote
1answer
66 views

Question on Debug Logs panel in Developer Console?

1)Why there are two rows in the Change Log Levels window in the Developer Console? with different expiration times, one in red color and one in green color? 2) Even when I set all the log levels to ...
2
votes
2answers
129 views

How to disable the debug log for other classes except for my class?

I am trying to increase the test coverage and it keeps failing and few of the useful debug log statements from my test class are not showing up and below are the ways I tried: 1): ...
4
votes
1answer
54 views

Debug logs in abstract parent class not showing

I have some inheritance going in in classes and I need to know what is going on in the parent code. For some reason, I can get debugs from the child class but not the parent. Child class: public ...
2
votes
1answer
638 views

System.debug not appearing in logs from test method

I have the below test method : static testmethod void addToShoppingCart_Test(){ //Line 128 setup(); //Line 129 oppObj.pricebook2id = customPb1.Id; //Line 130 upsert oppObj; //Line 131 ...
1
vote
1answer
55 views

Can't see user_debug from trigger handler when running unit test

Got a system.debug() inside a trigger handler. When running test class, nothing is output to log. Works when trying the same in UI. What could be the problem? Checked my test class overrides to no ...
0
votes
1answer
46 views

APEX callout: job says complete however no update on our server with no debug log

I was testing out a new APEX callout where whenever an opportunity was won, it would call out to our application. I was able to get the job to complete, however I am not seeing the update take ...
0
votes
2answers
241 views

System.debug is not displaying output

I am unable to print the message in the with System.debug; I given as System.debug('Hello SFDC');
3
votes
2answers
76 views

Using Debug Logs Efficiently for Tracking Errors

A general question. We all put some System.debug() statements in our controllers for error handling, for info messages, etc. But there are plenty of logs in the system. When some exception throws, ...
0
votes
2answers
91 views

Debug log getting truncated [duplicate]

Since there are so many classes and methods called from my class method, the debug log generated is very huge and getting truncated. How can i see the full debug log ? Is there a way through which i ...
20
votes
1answer
3k views

Force.com IDE Debugger. New feature?

Saw this as I was installing eclipse earlier. Anyone know how to tinker around with it?
1
vote
2answers
50 views

How to access this transaction's debug log from a trigger?

"Developer script exception" emails that are sent to developers for unhandled exceptions sometimes include full debug log. How can I access this debug log from a trigger so that I can email it to ...
3
votes
1answer
115 views

Debug URLFOR parameter

Users in a certain profile (in production) cannot see a new Visualforce page (or rather, a component within the Visualforce page) I've added to the Opportunity layout. The error is Content cannot ...
10
votes
7answers
627 views

Develop Console Code Coverage Issues (Winter 15' Release) - Production vs. All Test

Wondering if this is a bug or there is something about CC that just doesn't make sense to me. Below is screenshot after screenshot of example of red-lined code coverage that makes no sense. ...
11
votes
1answer
155 views

Does anyone understand Debug Filtering?

I am spending entirely too much time trying to figure out how to surface debug statements instead of debugging my actual code and I wanted to see if anyone out there has come up with a fool-proof ...
0
votes
0answers
13 views

Should I be able to see details of a managed package installed in my org in the debug log?

Lets say I have installed a managed package from app exchange in my org, and it is called from code. Can I see profiling information about the app (Number of SOQL statements, dml statements etc.) in ...
1
vote
1answer
24 views

Overnight debugging of a specific user

Anyone find a way to extend the logging capability of the developer console, or perhaps an appexchange app that will allow extended exception logging for overnight batch apex and integrations? Trying ...
0
votes
1answer
27 views

Trouble seeing debugs from Sites VF page controller

I'm trying to see debug statements generated by the custom page controller associated with a Visualforce page, but am having no luck. I see no logs to track. I'm looking for logs in the Dev ...