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

How to quit the debugger when in while loop #19

Open
arshbot opened this issue Jan 24, 2019 · 0 comments
Open

How to quit the debugger when in while loop #19

arshbot opened this issue Jan 24, 2019 · 0 comments

Comments

@arshbot
Copy link

arshbot commented Jan 24, 2019

How can I quit from inside a while loop? Below is an example of a script I've had trouble getting out of.

from ptpdb import set_trace

while True:
    set_trace()
    print('doing something')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant