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
0
votes
0answers
18 views

Interactive Apex Debugger for Aura Enabled functions - VS Code

I have managed to set up the Apex Interactive Debugger and can sometimes see the break point being triggered depending on what I am doing. I can see my own actions and everyone else's request via my ...
0
votes
0answers
67 views

Unverified Breakpoint: Apex Replay debugger not stopping at the break points in VS Code

I am experiencing an issue with the Apex Replay Debugger on my Mac. When I am trying to replay a log file in Apex Replay Debugger in VSCode, the debugger never stops at the specified break point. When ...
0
votes
0answers
71 views

Production Debug logs

I would like to get schedule apex logs on production environment. The apex classes belongs to the inbound change set deployed on production environment. I have enabled the debug logs for the time ...
1
vote
1answer
62 views

Visual Studio Code Apex Replay Debugger Unsupported Java Error

I'm trying to use the Apex Replay Debugger on VSCode on an Apple MacPro (Big Sur) but get a 'Unsupported Java version'error. I have followed all the instructions https://developer.salesforce.com/...
0
votes
1answer
127 views

SFDX: Get Apex Debug Logs is not getting my own log

I turned on "SFDX: Turn On Apex Debug Log for Replay Debugger", and then I run through my code to see if there's debug logs and there is debug logs generated. However, when I try to "...
0
votes
3answers
570 views

How to setup debug log for batch apex

I have a batch 'mytestbatch' which runs everyday through scheduler. This batch will update more than 15lakhs records. During execution mytestbatch is throwing an error 'First error: Attempt to de-...
0
votes
1answer
170 views

Which is best Apex Replay Debugger or Apex Debug logs? [closed]

Apex Debug logs or Apex Replay Debugger, both generates Logs. Which is the best to choose.
1
vote
0answers
700 views

How to get ApexLogs in an action called from LWC

I would like to know how to obtain the data that my apex method is generating step by step, system debugs. I have not seen any documentation on the internet which has some information of what I need. ...
8
votes
4answers
989 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
1answer
197 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
60 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 ...
7
votes
1answer
828 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
100 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
2k 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
2answers
554 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 ...
43
votes
2answers
37k 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
910 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
190 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
2k 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
512 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 ...