How to stop PyCharm's break/stop/halt feature on handled exceptions (i.e. only break on python unhandled exceptions)?
I have that PyCharm is halting on all my exceptions, even the ones I am handling in a `try except` block. I do not want it to break there - I am handling and perhaps expecting an error. But every other exception I do want it to halt and suspend execution (e.g. so that I have the program state and debug it).
How does one do that?
I tried going into the python exception breakpoint option but I didn't see an option like "break only on unhandled exceptions" e.g as suggested by these:
- https://stackoverflow.com/questions/39988590/stop-pycharm-if-error
- https://intellij-support.jetbrains.com/hc/en-us/community/posts/206601165-How-to-enable-stopping-on-unhandled-exceptions-
note this is my current state, note how it stopped in my try block... :(
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/DDrP0.png
Please sign in to leave a comment.