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

PR: Prevent pdb syntax error from blocking the console #174

Merged
merged 1 commit into from Nov 3, 2019

Conversation

impact27
Copy link
Contributor

@impact27 impact27 commented Oct 29, 2019

While debugging, if the code raises a syntax error, the console becomes unusable:

if True:
    print(0)
 print(1)

This PR properly handles the exception

Fixes spyder-ide/spyder#10588

@ccordoba12 ccordoba12 added this to the v1.8.0 milestone Nov 3, 2019
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @impact27!

@ccordoba12 ccordoba12 merged commit 8ab5e48 into spyder-ide:master Nov 3, 2019
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

Successfully merging this pull request may close these issues.

IndentationError in pdb breaks the console
2 participants