Partager via


Target Control Debugging Commands (Windows CE 5.0)

Send Feedback

You can use Target Control commands to transfer files to a target device and to debug applications. There are two ways to enter Target Control commands:

  • If you use a command prompt window, enter commands at the Windows CE prompt.
  • If you use the Platform Builder IDE, from the Target menu choose CE Target Control to display the Target Control window. Enter commands in the Target Control window.

The following line shows how to enter the commands.

[commands]

The following table lists the command options supported for Target Control Debugging.

Option Description
? Displays a list of commands.
break Breaks into the Microsoft kernel debugger program.
dd Address [Size] Dumps DWORD values. For information about the parameters supported for the dd command, see Target Control Debugging: dd Command.
df Filename Address Size Dumps DWORD values to a file. For information about the parameters supported for the df command, see Target Control Debugging: df Command.
dis Discards all memory that can be discarded.
gi proc | thrd | mod | delta | all Gets information on processes and processes with threads; modules; critical sections with threads waiting; and events. For information about the parameters supported for the gi command, see Target Control Debugging: gi Command.
kp Pid | Pindex Ends a process. For information about the parameters supported for the dd command, see Target Control Debugging: kp Command.
log [ LogOptions ][ HexWindowsCEZone [ HexUserZone [ HexProcessMask ]]] Displays the zones used by the event-tracking subsystem, Celog.lib. You can also use this command to modify zones for the event-tracking subsystem. This command works only if the event-tracking subsystem is running. For information about the parameters supported for the log command, see Target Control Debugging: log Command.
memtrack on | off | baseline Controls the collection of memory tracking data by the event-tracking subsystem (Celog.lib). This command works only if the event-tracking subsystem is running. For information about the parameters supported for the memtrack command, see Target Control Debugging: memtrack Command.
mikernel | full Displays memory information. For information about the parameters supported for the mi command, see Target Control Debugging: mi Command.
profon | off [DataType ][ StorageType][LogOptions] Controls the kernel profiler. This command has an effect only on a Windows CE OS that supports profiling. For information about the parameters supported for the prof command, see Target Control Debugging: prof command.
s Processname Starts the process. The Processname parameter refers to the name of the process.
run BatchFilename Runs a series of processes listed in a text file specified by the BatchFilename parameter.
win Dumps the list of windows currently displayed on the target device.
zop | m Index | Name [Zone, [on | off][ZoneIndex]] Performs debugging zone operations. For information about the options and zones supported for the zo command, see Target Control Debugging: zo Command.

See Also

Debugging Resources Overview | Target Control Window

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.