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

Closed
jSadoski opened this issue Jan 12, 2022 · 5 comments
Closed

Debugging: Run to Completion and Restart #140580

jSadoski opened this issue Jan 12, 2022 · 5 comments
Assignees
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality testing Built-in testing support

Comments

@jSadoski
Copy link

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 weinand added debug Debug viewlet, configurations, breakpoints, adapter issues testing Built-in testing support labels Jan 12, 2022
@weinand
Copy link
Contributor

weinand commented Jan 12, 2022

@connor4312 what do you think?

@connor4312
Copy link
Member

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 the feature-request Request for new features or functionality label Jan 12, 2022
@weinand weinand modified the milestones: Backlog, Backlog Candidates Jan 12, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
debug Debug viewlet, configurations, breakpoints, adapter issues feature-request Request for new features or functionality testing Built-in testing support
Projects
None yet
Development

No branches or pull requests

4 participants
@jSadoski @weinand @connor4312 and others