!gle

The !gle extension displays the last error value for the current thread.

!gle [-all]

Parameters

-all

Displays the last error for each user-mode thread on the target system. If you omit this parameter in user mode, the debugger displays the last error for the current thread. If you omit this parameter in kernel mode, the debugger displays the last error for the thread that the current register context specifies.

DLL

Windows 2000

Ext.dll
Ntsdexts.dll

Windows XP and later

Ext.dll

 

Additional Information

For more information about the GetLastError routine, see the Micorosft Windows SDK documentation.

Remarks

The !gle extension displays the value of GetLastError and tries to decode this value.

In kernel mode, the !gle extension work only if the debugger can read the thread environment block (TEB).

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft