Closed chiragpaliwal closed 5 months ago
Hi @chiragpaliwal , the sfdx command in the screenshot has been deprecated. could you try to update to the latest version of extensions v60.7.0, reload VS Code, open up the log file and run SFDX: Launch Apex Replay Debugger with Current File again and see the result?
If that does not work, could you try to open up an Apex Test file, click Debug Test from Code Lens to run the apex test and then see if it works and the log file is generated?
@mingxuanzhangsfdx I have updated the replay debugger to v60.7.0
still the same error.
For the Apex Test file Run Test
executes just fine but Debug Test
doesn't do anything.
Hi @chiragpaliwal, Can I get the following info?
Developer: Show Running Extensions
from the command palette and send me a screenshot of that page. I would like to confirm that you have all the extensions activated and all of them are on v60.7.0.Developer: Toggle Developer Tools
from the command palette. What error messages are present there?@daphne-sfdc , Thanks for responding! I guess this had something to do with me using the Salesforce Extension Pack (Expanded), the issue was resolved after I installed the Salesforce Extension Pack.
Summary
Issue launching an Apex Replay Debugger session with a downloaded apex log.
Steps To Reproduce:
Expected result
It should initiate an Apex Replay Debugger session with a yellow highlighted line at the start of the debug log.
Actual result
Additional information
60.0 APEX_CODE,FINEST;APEX_PROFILING,NONE;CALLOUT,NONE;DB,INFO;NBA,NONE;SYSTEM,NONE;VALIDATION,NONE;VISUALFORCE,FINER;WAVE,NONE;WORKFLOW,NONE
Salesforce Extension Version in VS Code:
Salesforce Extension Pack (Expanded) v60.5.1
SFDX CLI Version:
@salesforce/cli/2.35.6 darwin-arm64 node-v20.11.1
Java Version:
openjdk 17.0.6 2023-01-17 LTS OpenJDK Runtime Environment Zulu17.40+19-CA (build 17.0.6+10-LTS) OpenJDK 64-Bit Server VM Zulu17.40+19-CA (build 17.0.6+10-LTS, mixed mode, sharing)
OS and version:
macOS Sonomo 14.3.1 (23D60)
VS Code version: