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,...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
apex-replay-debugger × 24vs-code × 14
apex × 8
debugging × 6
salesforcedx × 5
debug-logs × 4
apex-debugger × 4
salesforcedx-cli × 2
sfdx-plugin × 2
visualstudiocode × 2
map × 1
java × 1
object × 1
debug × 1
b2b-commerce × 1
variable × 1