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

Incompatibility with PyCharm 2019.2 #14

Closed
theY4Kman opened this issue Jul 2, 2019 · 0 comments · Fixed by #15
Closed

Incompatibility with PyCharm 2019.2 #14

theY4Kman opened this issue Jul 2, 2019 · 0 comments · Fixed by #15

Comments

@theY4Kman
Copy link

In the PyCharm 2019.2 EAP (PY-192.5438.16, prolly earlier ones, too), I noticed pytest-pycharm stopped pausing on assertion failures.

It seems this new PyCharm version also includes an update to the underlying PyDev debugger, bringing with it some attribute name changes.

I was able to reinstitute pausing on exceptions by changing this line

# no longer pauses for exception
debugger.handle_post_mortem_stop(thread, frame, frames_by_id, exception)

To this one

# works in pycharm 2019.2 eap
debugger.stop_on_unhandled_exception(thread, frame, frames_by_id, exception)
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 a pull request may close this issue.

1 participant