Visual Studio 调试断言失败对话框无响应 [英] Visual Studio debug assertion failed dialog unresponsive
问题描述
在调试本机 win32 应用程序时,某些未处理的异常(更具体地说是 Windows atlcomcli.h
中的失败断言)会导致未处理的异常"对话框(您可以在其中中止、继续(在visual studio中调试异常)或忽略)以冻结并且无响应 - 无的按钮可以按下.
这意味着我无法获得调用堆栈等信息,我必须强制终止 Visual Studio,因此我无法在调试崩溃时获得任何帮助.
它与抛出的大多数其他未处理的异常一起工作得很好.
这是为什么?
一种解决方法是您可以收集崩溃/冻结问题的小型转储文件,调试崩溃的转储文件并找到更多有用的信息:
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?
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?
这篇关于Visual Studio 调试断言失败对话框无响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!