How to interpret exception codes shown in WinDbg?

I am just debugging a windows application that crashes. After starting the application attached to it using WinDbg, and then resolving it to fail, the following appeared in the WinDbg command window:

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

I searched the Internet but could not find any explanation on how to interpret these exception codes.

If that matters, this is a 32-bit .NET application running on 64-bit Windows 8 (via WoW64).

+4
source share
1 answer

WinDbg already displays the exception name when it knows this:

(15c0.1370): Break instruction exception - code 80000003 (first chance)

You will receive more detailed information using .exr -1:

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

You can also display the NTSTATUS codes suggested by @rrirower:

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.
+7

Source: https://habr.com/ru/post/1599281/


All Articles