我只是在调试崩溃的Windows应用程序。启动应用程序后,使用WinDbg附加它,然后让它崩溃,WinDbg命令窗口中出现以下内容:
(119c.1794): Unknown exception - code 0000071a (first chance)
我一直在网上搜索,但没有找到解释这些例外代码的任何解释。
如果它有所不同,它是一个在64位Windows 8(通过WoW64)上运行的32位.NET应用程序。
答案 0 :(得分:8)
WinDbg在知道异常时已显示异常名称:
(15c0.1370): Break instruction exception - code 80000003 (first chance)
您可以使用.exr -1
获得更多详细信息:
0:009> .exr -1
ExceptionAddress: 77d5000c (ntdll!DbgBreakPoint)
ExceptionCode: 80000003 (Break instruction exception)
ExceptionFlags: 00000000
NumberParameters: 1
Parameter[0]: 00000000
您还可以按照@rrirower的建议显示NTSTATUS代码:
0:009> !gle
LastErrorValue: (Win32) 0 (0) - The operation completed successfully.
LastStatusValue: (NTSTATUS) 0 - STATUS_WAIT_0
这些状态代码可以使用!error
进行解码。它将考虑Win32,Winsock,NTSTATUS和NetApi错误:
0:009> !error 0000071a
Error code: (Win32) 0x71a (1818) - The remote procedure call was cancelled.