-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFDX: Update Checkpoints in Org fails #1476
Comments
Looks like you did some edits to the class before trying to update the checkpoints. Did you push/deployed those changes to the org before running |
Hi lcampos, All the edits have been deployed to the Source Org be for do the Thanks, |
Hi @wishwa did you work out what the error is? I am also receiving the same error. |
@rickyloweSP No mate, I haven't got a resolution for it. |
Hi All, I have updated to latest versions but still I get the same error Looking forward to get any workaround with this issue Thanks in advanced, |
Hi Ricky, Have you able to figure out the problem? Still I'm getting the error. Thanks , |
I've spent hours trying to determine why I'm getting the "Invalid checkpoint location" error mentioned here (when trying to run "Update Checkpoints in Org") as well as "unverified breakpoints" when running the replay debugger. I went so far as to completely remove then reinstall VS Code, the Salesforce CLI and the Salesforce Extension Pack but still, nothing worked. As a test I went through the Trailhead for the replay debugger, which worked. I noticed the path for that project folder had no spaces, so I redid my project path to remove all spaces and now everything is working fine. |
Hi Klampert, Thanks for informing me about the steps that you follow, My problem was with the "&" character in the path. Thanks, |
I had "+" on the name of the root folder. There are spaces in the full path, but that does not matter... It's the name/folder of the project. |
This is also true for all special characters such as é è in french that get converted to & when the string is transformed in a http url ... |
I deleted a space in the project name and that fixed the problem. |
Restarting vscode worked for me. |
I had a number in my project's folder name. I changed it from |
It shouldn't matter what the file path is... that a space or a number breaks it is immaterial. The debug feature is not working; please fix it. |
Summary
When running the SFDX: Update Checkpoints in Org command from the VS Code palette, I receive the following error in the Output window.
Checkpoints can be set on valid line of Apex source. Invalid checkpoint location:...
Steps To Reproduce:
Expected result
Check point should update in Org.
Actual result
Checkpoints can be set on valid line of Apex source. Invalid checkpoint location:....
Starting SFDX: Update Checkpoints in Org SFDX: Update Checkpoints in Org, Step 1 of 6: Retrieving org information SFDX: Update Checkpoints in Org, Step 2 of 6: Retrieving source and line information SFDX: Update Checkpoints in Org, Step 3 of 6: Setting typeRefs for checkpoints Checkpoints can be set on a valid line of Apex source. Invalid checkpoint location: URI=file:///Users/wishwa/Documents/R%20%26%20D/VSCode/debugger-project/force-app/main/default/classes/AccountService.cls, Line=11 Ending SFDX: Update Checkpoints in Org Your checkpoints have errors. Fix the errors listed in the output, then run SFDX: Update Checkpoints in Org again.
Additional information
Feel free to attach a screenshot.
VS Code Version: Version 1.36.1 (1.36.1)
SFDX CLI Version: sfdx-cli/7.14.0-bd96f098e0 darwin-x64 node-v10.15.3
OS and version: MacOS Mojave verion 10.14.5
The text was updated successfully, but these errors were encountered: