Difference between revisions of "WinDBG"

From ReactOS Wiki
Jump to: navigation, search
(Useful commands)
(Useful commands)
Line 12: Line 12:
 
|-
 
|-
 
|x *! || full modules list (atm lm is only showing basic modules);
 
|x *! || full modules list (atm lm is only showing basic modules);
 +
|-
 +
|!gflag +soe || catch all exceptions (first exception handling) apart from STATUS_PORT_DISCONNECTED or if the exception code is not an error code;
 
|-
 
|-
 
|!process 0 0 || list all process with basic info;
 
|!process 0 0 || list all process with basic info;
 
|-
 
|-
|!process || list detailed info of attached process, with its threads;
+
|!process <addr> 0x1c || list detailed info of attached process, with its threads;
 
|-
 
|-
|!gflag +soe || catch all exceptions (first exception handling) apart from STATUS_PORT_DISCONNECTED or if the exception code is not an error code;
+
|!process <addr> || attach to the process of a given address;
 
|-
 
|-
|.process <addr> || attach to the process of a given address;
+
|!thread <addr> || attach to the thread of a given address;
 
|-
 
|-
 
|.reload /user || reloads user symbols and enables resolving of usermode
 
|.reload /user || reloads user symbols and enables resolving of usermode
|-
 
|.thread <addr> || attach to the thread of a given address;
 
 
|}
 
|}

Revision as of 23:26, 29 October 2011

Online reference

http://msdn.microsoft.com/en-us/library/ff540507.aspx

http://www.osronline.com/ddkx/ddtools/gflags_7u5v.htm

Useful commands

command description
ta trace to address;
x *! full modules list (atm lm is only showing basic modules);
!gflag +soe catch all exceptions (first exception handling) apart from STATUS_PORT_DISCONNECTED or if the exception code is not an error code;
!process 0 0 list all process with basic info;
!process <addr> 0x1c list detailed info of attached process, with its threads;
!process <addr> attach to the process of a given address;
!thread <addr> attach to the thread of a given address;
.reload /user reloads user symbols and enables resolving of usermode