Skip to content
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

Removing all checkpoints doesn't update them in the connected org #4051

Open
randi274 opened this issue Apr 21, 2022 · 2 comments
Open

Removing all checkpoints doesn't update them in the connected org #4051

randi274 opened this issue Apr 21, 2022 · 2 comments
Labels
area:apex replay-debugger type:enhancements Feedback to take into account for existing features

Comments

@randi274
Copy link
Contributor

Summary

When I have been working with a few checkpoints, then remove them in VS Code, they're not automatically removed in the org during the easy debugging flow (Debug Test / Launch Apex Replay Debugger with the Current File)

Steps To Reproduce:

  1. Toggle a few checkpoints and either run the Update Checkpoints command to update them in the org, debug a test, or use Launch Apex Replay Debugger with the Current File.
  2. Remove all checkpoints in VS Code (Toggle Checkpoint, or delete by clicking them directly)
  3. Debug at Test or Launch Apex Replay Debugger with the Current File
  4. Notice that Update Checkpoints didn't run; code will still stop at the checkpoints with the replay debugger even though they don't exist in the UI anymore. If you open the Checkpoint Viewer in the Dev Console, you'll see they're still there as well.

Expected result

When running through Debug Test or Launch Apex Replay Debugger with Current File, checkpoints are removed.

Actual result

Checkpoints are not removed because VS Code thinks it doesn't have any checkpoints to work with.

Additional information

Salesforce Extension Version in VS Code: 54.8.0
OS and version: Mac 11.6.5

@randi274
Copy link
Contributor Author

@AnanyaJha I wasn't quite willing to call this a dev bug without your review; if this is WAD we can update docs instead.

@AnanyaJha AnanyaJha added the type:enhancements Feedback to take into account for existing features label May 19, 2022
@AnanyaJha
Copy link
Collaborator

@randi274 I would say this is WAD, you would need to run Update Checkpoints again for the checkpoints to be removed from the org afair

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:apex replay-debugger type:enhancements Feedback to take into account for existing features
Projects
None yet
Development

No branches or pull requests

3 participants