如何解释WinDbg中显示的异常代码?

Ale*_*x D 4 debugging windows-nt windbg exception

我只是在调试崩溃的Windows应用程序.启动应用程序后,使用WinDbg附加它,然后让它崩溃,WinDbg命令窗口中出现以下内容:

(119c.1794): Unknown exception - code 0000071a (first chance)

我一直在网上搜索,但没有找到任何解释如何解释这些异常代码.

如果它有所作为,它是一个在64位Windows 8(通过WoW64)上运行的32位.NET应用程序.

Tho*_*ler 8

WinDbg知道它时已经显示异常的名称:

(15c0.1370): Break instruction exception - code 80000003 (first chance)
Run Code Online (Sandbox Code Playgroud)

您将获得更多详细信息.exr -1:

0:009> .exr -1
ExceptionAddress: 77d5000c (ntdll!DbgBreakPoint)
   ExceptionCode: 80000003 (Break instruction exception)
  ExceptionFlags: 00000000
NumberParameters: 1
   Parameter[0]: 00000000
Run Code Online (Sandbox Code Playgroud)

您还可以显示@rrirower建议的NTSTATUS代码:

0:009> !gle
LastErrorValue: (Win32) 0 (0) - The operation completed successfully.
LastStatusValue: (NTSTATUS) 0 - STATUS_WAIT_0
Run Code Online (Sandbox Code Playgroud)

这些状态代码可以用!error.它将考虑Win32,Winsock,NTSTATUS和NetApi错误:

0:009> !error 0000071a 
Error code: (Win32) 0x71a (1818) - The remote procedure call was cancelled.
Run Code Online (Sandbox Code Playgroud)