function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jayanth ThathapudiJayanth Thathapudi 

SFDX: Toggle Checkpoint is not working

Hi All,

I will be using Apex Replay Debugger alot for the debugging purpose. It used work perfectly but now I am getting the below error while toggling the checkpoint and  Update Checkpoints in Org

"Command 'SFDX: Toggle Checkpoint' resulted in an error (command 'sfdx.toggle.checkpoint' not found)"

"Command 'SFDX: Update Checkpoints in Org' resulted in an error (command 'sfdx.create.checkpoints' not found)"

Any suggestion or help is highly appreciated.

Thanks,
Jay
SwethaSwetha (Salesforce Developers) 
HI Jay,
Can you try the appraoch mentioned in 
https://trailblazers.salesforce.com/answers?id=9063A000000aG3WQAU i.e.,

"The JAVA_HOME environment variable needs to be set to 
C:\Program Files\Java\jdk-11.0.7
 And the ' Salesforcedx-vscode-apex › Java: Home' value needs to be removed."

Let me know if it helps
ridorex yunchaliridorex yunchali
The employee portal of CVS (https://myhrcvslogin.online/) offers a lot of benefits for every single employee. It allows an employee to look and have the perks of discounts and many health and fitness programs.
 
Jayanth ThathapudiJayanth Thathapudi
Hey Swetha,

Thanks for the response. I have tried (adopt JDK and Zulu JDK) the same but no luck :(

Previously it is working very fine. I am not sure what happened in between.

Thanks,
Jay