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

Debugging: Run to Completion and Restart #140580

Open
jSadoski opened this issue Jan 12, 2022 · 4 comments
Open

Debugging: Run to Completion and Restart #140580

jSadoski opened this issue Jan 12, 2022 · 4 comments

Comments

@jSadoski
Copy link

@jSadoski jSadoski commented Jan 12, 2022

Among the Debug actions in the Debug Toolbar (Pause/Continue, Step Over, Step Into, Step Out, Restart, Stop), it would be useful to have a button that is similar to Restart, but will continue the code to its exit (error or otherwise), then start it again.

This would be very useful when, for example, debugging an E2E test from the Python Test Extension which has a fixture that requires cleanup. Right now, if you were to Restart an test in progress, it would skip the cleanup/teardown steps of that fixture. A Finish & Restart button would allow for teardown to occur before restarting the test. Of course, this would make code changes faster to debug in these scenarios.

Optionally, I think it would make sense to allow this feature to skip breakpoints (or a certain level of breakpoints) until the current run exits.

Apologies if this has already been requested. I did some searching, but this isn't an easy concept to specify in search.

@weinand
Copy link
Member

@weinand weinand commented Jan 12, 2022

@connor4312 what do you think?

@connor4312
Copy link
Member

@connor4312 connor4312 commented Jan 12, 2022

The test case would be partially covered by #134941. Though we don't have any plan/feature right now to "disable breakpoints for the current test run and continue". I would probably backlog-candidate this feature request.

@weinand weinand added this to the Backlog milestone Jan 12, 2022
@weinand weinand removed this from the Backlog milestone Jan 12, 2022
@weinand weinand added this to the Backlog Candidates milestone Jan 12, 2022
@vscode-triage-bot
Copy link
Collaborator

@vscode-triage-bot vscode-triage-bot commented Jan 12, 2022

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@vscode-triage-bot
Copy link
Collaborator

@vscode-triage-bot vscode-triage-bot commented Mar 4, 2022

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants