General System Information (Windows Embedded CE 6.0)
1/5/2010
This topic covers general system information commands for CeDebugX. The following shows these commands.
Command | Description | Parameters |
---|---|---|
!exception |
Displays exception information, if any, and the current thread call stack. |
None. |
!kinfo |
Displays the top-level KData information, such as page size and available memory, in the UserKInfo table. |
None. |
!disasm <addr> <process> |
Displays the disassembly for a given address. |
<addr> Virtual address. <process> (optional) Process name, handle, or ID that specifies the virtual memory context. The default setting is the current process. |
!getsym <addr> <process> |
Displays the nearest symbol at the address. |
<addr> Virtual address. <process> (optional) Process context. May be a process name, handle, or ID. The default setting is the current process. |
!dd <start address> <process> |
Dumps memory contents, 256 bytes at a time. |
<start address> (optional) Starting address. If unspecified, CeDebugX uses the address immediately following the end of the last dump. <process> (optional) Process name, handle, or ID that specifies the virtual memory context. The default setting is the current process. |
!getsizeof <type | expr> <process> |
Displays the size, in bytes, of a type or unary expression. This exposes the C++ sizeof operator at break time. |
<type | expr> Type or unary expression. <process> (optional) Process context. This can be a process name, handle, or ID. The default setting is the current process. |
!d2x <int> |
Converts a decimal integer value into a hexadecimal value. |
<int> Integer value. |
!x2i <hex> |
Converts a hexadecimal value to a signed decimal integer. |
<hex> Hexadecimal value. |
!x2u <hex> |
Converts a hexadecimal value to an unsigned decimal integer. |
<hex> Hexadecimal value. |
!ms2t <milliseconds> |
Converts a count of milliseconds to a count of hours, minutes, seconds, and milliseconds. |
<milliseconds> Milliseconds. |
!expr <expression> |
Evaluates an expression. |
<expression> Symbolic expression. This uses Watch Window syntax, including context specifiers. |
!printstr <addr> <process> <# chars> |
Reads a Unicode string from device memory and displays it. |
<addr> Address of string. <process> Process context. May be a process name, handle, or ID. <# chars> (optional) Maximum number of characters to display. The default setting is 256. |
!printstra <addr> <process> <# chars> |
Reads an ANSI string from device memory and displays it. |
<addr> Address of string. <process> Process context. This can be a process name, handle, or ID. <# chars> (optional) Maximum number of characters to display. The default setting is 256. |