Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [debug]

The tag has no usage guidance.

22 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
121 views

No DML_END Issue

Yet another "what gives" question. I have a custom object that is updated upon a button click on a VisualForce Page. I can see in my debug logs that the object has been updated. But when I refresh ...
5
votes
0answers
492 views

How to debug Post-Install script?

We don't get much information on email received by subscriber if Post-install script fails. Problem: Unexpected Error The package installation failed. Please provide the following ...
3
votes
2answers
1k views

Developer Console Not Showing Debug Logs

My Question: How are we meant to setup Debug when using the Developer Console Log List (Tab)? Previously we never had to setup anything, opening the dev console would setup Debug automatically, and ...
3
votes
0answers
64 views

Salesforce1 memory leak with custom vfpage

We create a lightning ready VF page. It works perfectly in Lightning experience on desktop. But it's really slow in salesforce1 on IOS, and look like creating memory leaks we cannot reproduce on ...
3
votes
1answer
326 views

Duration in milliseconds is very high for a batch job and recorded in debug log. What could be the reason for the huge duration?

After One of the batch job ran, i got the log details as follows that shows huge duration in milliseconds. Where could this time consumed? What it means actually? I am worrying that i could have hit ...
2
votes
0answers
53 views

Query results in Query Editor are different then Degbug Log Results

When I query ActivityHistory in my SOQL editor, I get back the correct results with the correct format of the activity date: [{"CreatedById":"00534000009QnEtAAK","Subject":"Call","Description":"this ...
2
votes
0answers
44 views

Differently aligned Save and Cancel button in debug edit page Summer 16

In a Summer 16 org i'm seeing some UI changes at least in Edit trace flag screen. When i edit user trace flags for my user I see the Cancel button is left aligned and Save is right aligned (They ...
1
vote
0answers
41 views

Debug a Beta version of the managed package

Is it possible to debug a Beta version of the managed package? It seems that LMA works only with those apps that were published on AppExchange. Thank you.
1
vote
0answers
564 views

Set a Browser Cookie to Enable Debug Logging for Guest Users

I know that it has a lot of trends created about this topic but none of them worked for me. So, I opened my site and create the cookie with document.cookie="debug_logs=debug_logs;domain=.force.com";...
1
vote
0answers
77 views

Not Getting Debug Logs Even Though Not Guest User and Trace Flags Set

I have setup my User Trace Flags like I would normally as my current user, but for some reason no debug logs are being captured. It would be different if statements were missing in the log, but I am ...
1
vote
0answers
143 views

Debug Logs Explanation

I'm trying to understand the debug logs Salesforce provides. There are actually two duration(in ms) for every webservice called. One at the top One at the bottom giving up split up method wise The ...
1
vote
0answers
44 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
1answer
197 views

apex replay debugger - command 'sfdx.launch.replay.debugger.logfile' not found

Problem with launching apex replay debugger. Cant even launch. I have in vsc Salesforce Extension Pack and work with it. run SFDX: Turn On Apex Debug Log for Replay Debugger. get debug logs.(level ...
0
votes
1answer
323 views

System.debug not showing up in salesforce trigger execution

I have trigger which works on after update call on a particular object. I added some debug points to understand which data that I am getting from the record. When I click on save button on the ...
0
votes
0answers
46 views

List doesn't get populated in the for loop

Whole of my code works perfectly, except for this part Inside of the for loop, where the system.debugs are, the system debugs don't leave any type of message on the debug log. The "anorder.id" comes ...
0
votes
0answers
34 views

How to handle uncaught custom exceptions in a managed package that are not being logged

I've noticed that uncaught custom exceptions in managed packages aren't recorded in the debug log if it's thrown in the context of the Salesforce UI or Lightning community. The exception message can ...
0
votes
1answer
51 views

Debug logs not being shownup in developer console

I am having a piece of code in which i am having some debug statements.But in developer console not even single debug is showing up.I even changed the expiration time. Public PageReference ...
0
votes
2answers
372 views

How to use debug logs

I want to check a workflow name using debug logs as a result I am unable to set the criteria for debug logs. I want to fetch a data for a user for 10th March,2017 but getting an error that expiration ...
0
votes
0answers
54 views

Weird issue with Debug Statement and trigger handler

I have a weird issue that I'm not even sure how to describe completely. Basically, in my trigger handler class I'm using a set of set of Ids to compare records so only the new records not contained in ...
0
votes
2answers
525 views

Salesforce debug logs

I don't see my System.debug() comments in my debugger. I need these to return a response to an API callout response from Marketo. For example, System.debug(res2.getBody()); When I test the code ...
0
votes
1answer
29 views

Comment system debug statements without eclipse

I need to delete all system.debug statements in all the apex classes. Is there any method we can mass comment/delete the debug statements in one go?
0
votes
1answer
30 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 ...