Thread Information Viewing

The Threads window is a dockable window that displays the threads*,* or paths of execution, within a process. Like the Processes window, the Threads window varies, depending on the state of the target device, as follows:

  • When the target device is running, the Target Control (CESH) service provides the information for this window. If the Target Control (CESH) service is not running, this information is not available.
  • If the target device is in break state, KdStub, the debugger stub in the kernel, provides the information that is displayed in this window.

By default, when the Threads window is first opened, it displays the threads for the first process listed in the Process combo box.

**Note   **If you use the Windows CE Debug Shell tool (Shell.exe) to download an OS image for debugging, the kernel debugger is started from within the IDE after the download is completed. Because Shell.exe was started before the debugger starts, information obtained from Cesh.exe is not available to populate several debugger windows. Instead, Shell.exe receives this information. In the IDE, the Threads window does not display information while the debugger is running. Instead, it displays a Data Unavailable message. However, when the debugger is in break state, this window displays the appropriate information.

In addition, the Break button on the Debug toolbar and the Break item on the Debug menu are disabled when the IDE is opened from Shell.exe. To put the debugger in break state from Shell.exe, you must type the break command in the Shell.exe command window.

See Also

Debug Information Viewing | Opening the Threads Window | Viewing the Threads for a Selected Process | Refreshing the Threads Window | Automatically Refreshing the Threads Window when the Debugger Steps | Logging the Contents of the Threads Window | Automatically Logging the Contents of the Threads Window when the Debugger Steps | Viewing the Call Stack for a Thread | Threads Window | Thread Information Viewing | Processes Window | Process Information Viewing | Call Stack Window | Function Call Viewing | Platform Debugging

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.