问题
When debugging a native win32 application, certain unhandled exceptions (more specifically a failed assertion in Windows atlcomcli.h
) causes the "unhandled exception" dialog (where you can abort, continue (to debug the exception in visual studio) or ignore) to freeze and be unresponsive - none of the buttons can be pressed.
This means I cannot get the callstack among other things, I have to force-terminate Visual Studio and so I cant get any help on debugging where it crashes.
It works just fine with most other unhandled exceptions that are thrown.
Why is this?
回答1:
One workaround is that you could collect the minidump file for the crashed/freeze issue, debug the crashed dump file and find more helpful information for it:
How can I disable the debug assertion dialog on Windows?
来源:https://stackoverflow.com/questions/39155942/visual-studio-debug-assertion-failed-dialog-unresponsive