1
Vote

Mixed mode debugging (attach) always stops on handled exceptions

description

I am using PTVS 2.1 Beta on VS2013, with Python 3.4 embedded in a C++ application. I am not able to start the application in the debugger due to Issue #2351 so I am attaching to the running process instead. Whenever the code throws a Python exception the debugger stops, even when I have unchecked the "User-unhandled" option in Debug -> Exceptions. I would expect that with this option unchecked it would not stop on any Python exception. The main reason why this is quite annoying is that whenever a Python module is imported, there are several handled exceptions inside importlib.

In this context, what is the definition of a "user-unhandled" exception?

Possibly related: Issue #2005, Issue #2077

comments