Reputation: 339
I making a WinAPI DLL using CLion and debugging via LLDB debugger (inside CLion). So breakpoints work fine, however, if there's uncaught exception in my DLL target process crashes and debugger doesn't break when it does. But if there's exception in the target process, debugger breaks fine. Is there any workaround?
Upvotes: 2
Views: 1690
Reputation: 714
this happens to me often and almost always the culpret is that the section marked Disable until hitting the following breakpoint:
is set to Any Exception
. simply change that value to None
and the debugger will break when an exception is thrown.
i have no idea how or why this setting is changing itself to that value but, whenever it does, exception breakpoints stop working.
Upvotes: 1
Reputation: 13475
Did you enable breaking on exception in Run
menu - View breakpoints
window?
Upvotes: 3