Compartilhar via


General System Information CeDebugX Commands (Compact 2013)

3/26/2014

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.

!oat

Displays the OEM Address Table.

None.

!toc

Displays the ROM table of contents.

None.

!ll

Displays linked lists generically.

<start address>

Starting address

<pNext offset>

Next offset

<bytes to display>

Bytes to be displayed

<OR value>

OR value

<AND value>

AND value

<max iterations>

Maximum iterations

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

See Also

Reference

CeDebugX