3 votes
Accepted

Apex Replay Debugger: Cannot read property 'name' of null

I've had issues in the past with the replay debugger relating to not having my salesforcedx-vscode-apex.java.home set appropriately (the SFDC cli seems to want you to point to the jdk directory itself,...
Derek F's user avatar
  • 60.9k
3 votes

Visual Studio Code debugger - how do I see content of object or map?

Limitations of Apex Replay Debugger in VS Code https://developer.salesforce.com/tools/vscode/en/apex/replay-debugger This is under the "Considerations" section. I don't even think using checkpoints ...
Kris Goncalves's user avatar
2 votes
Accepted

Is it possible to turn on the Apex Replay Debugger permanently or for the entire day from VSCode

Not permanently, as it depends on TraceFlag, which allows a maximum of 24 hours. You could go in to Setup after enabling to extend the session (see Setup > Monitoring > Debug Logs), but keep in ...
sfdcfox's user avatar
  • 487k
2 votes

How Apex Replay Debugger works in the background?

The mechanism how apex replay debugger works is described in here in dreamforce 18 session. To summarize here is how the replay debugger works 1.Developer sets the checkpoints by selecting line ...
Mohith Shrivastava's user avatar
2 votes
Accepted

Breakpoint will not hit with VS Code and Apex Replay Debugger

The other log levels don't matter. It's just Apex = finest and Visualforce = finer (the log category I see is "Visualforce", not "Lightning"). A good approach to debug the debugger would be to start ...
Derek F's user avatar
  • 60.9k
2 votes
Accepted

Error when trying to debug log file: Unable to retrieve breakpoint info from language server, language server is not ready

I found out myself how to solve this (with the hint of a colleague). Go to the settings of VS Code and search for "salesforcedx-vscode-apex". Look for the Java: Home entry and paste there ...
PieterJacob's user avatar
1 vote

Is it possible to turn on the Apex Replay Debugger permanently or for the entire day from VSCode

If you use VsCode SFDX Hardis extension, activate debug logs will be automatically run when: you open a SFDX project in VsCode containing breakpoints you define a breakpoint More info in this ...
Nicolas Vuillamy's user avatar
1 vote

How Apex Replay Debugger works in the background?

Heap can be allocated by both your code statements and the underlying libraries e.g. the first call to System.debug might allocate some memory that is held in static variables as part of its internal ...
Keith C's user avatar
  • 136k
1 vote

VSCode Debug Add Configuration error Cannot read property 'openConfigFile' of undefined

It looks like a bug in VSCode as if you create the file launch.json manually it works and then you can Add the Apex Replay Debugger Configuration. Create the file under your project folder with the ...
andres.bravo's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible