Questions tagged [apex-debugger]

The Apex Debugger extends the Force.com IDE plug-in for Eclipse. Use this tag for any issues related to its usage.

Filter by
Sorted by
Tagged with
5
votes
4answers
246 views

is there a way to check a debug statement belongs to which class

Is there a way to know if we can get class name or trigger or a component along with a debug statement like a system.debug line no and class to which it belongs? I asked this because i came along a ...
0
votes
0answers
66 views

getting Must trace apex_code at finest when checking the variable panel

I have already set the apex debug level at FINEST but still when I check the variable panel I still see the message must trace APEX_CODE at Finest can someone please suggest on the same? Below is the ...
0
votes
1answer
24 views

Do I need to trace every user for Debug Log Intermittent Issues?

I have an intermittent error that happens sometimes 3 times a week and sometimes not for a couple of weeks. Each time, it is from a different user. I get an email produced from the catch try block ...
4
votes
1answer
314 views

Limitations of Apex Replay Debugger in VS Code

global class Opportunity_EmailService implements Messaging.InboundEmailHandler { public Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) { ...
1
vote
0answers
94 views

How to fix Streaming API errors when using Apex Debugger?

I am attempting to use the Apex Interactive Debugger using Eclipse. When I try to run it I continously get messages from Eclipse 'You have been temporarily disconnected from the Streaming API. We will ...
0
votes
2answers
785 views

System.debug does not output when written in trigger

I have the following trigger: trigger HelloWorldTrigger on Account (before insert) { System.debug('Hello World!'); } I checked that the trigger code is saved. Now I run the following anonymous ...
4
votes
1answer
275 views

Non-DX VS Code Debugger

Anyone know of a working debugger extension for VS Code that works for non-DX projects? Or maybe how to setup the official SF debugger extension for a non-DX project (their wiki mentions it can be ...
34
votes
2answers
20k views

Error while updating debug log trace flag

I am trying to update the debug log trace flag for my user but getting the following error Having an active trace flag triggers debug logging. You have 259 MB of the maximum 250 MB of debug logs. ...
5
votes
1answer
634 views

Salesforce DX Apex Debugging license issue

I'm trying to get Apex debugging working in VS Code, following instructions here. When I launch the debugger I see a popup You exceeded your licensed number of debugging sessions. Please end other ...
-3
votes
1answer
121 views

i am getting Attempt to de-reference a null object in batch class but unable to trace where the error causing [closed]

i am getting Attempt to de-reference a null object in batch class but unable to trace where the error causing due to CUMULATIVE_LIMIT_USAGE_END in debug logs, Here i am getting all the logs, so i ...
1
vote
3answers
815 views

How do I create a map with different element types in APEX

I am new to Apex and am trying to build a Map object which contains all the order information. Ideally, I would like to serialize this into JSON and send to a webservice. I have got to the point where ...
7
votes
1answer
425 views

Unable to set breakpoints in Apex Debugger when using ISV Partner login

I'm working through the steps from Get Started with the ISV Customer Debugger and trying to get the Apex Debugger to set breakpoints for code from the managed package. I've logged into the subscriber ...