ViewDebug WindowsThreads
Shows the status of all processes and threads that are executing in each application being debugged.
Item |
Description |
Thread ID |
Displays the process name, the OS assigned thread ID, and, if the thread is named, its name. |
State |
Indicates the execution state of the thread as Runnable, Stopped, Blocked, or None; for processes, the state indicates how the process was created: Spawned, Attached, or Cross-process Attach. |
Status |
Indicates the thread status as one of the following: Breakpoint - The thread stopped due to a breakpoint. Faulted - The thread stopped due to a processor exception. Unknown - The thread is not the current thread so its status is unknown. Stepped - The last step command was successfully completed. |
Location |
Indicates the function name or address associated with the thread. |
Wait Chain |
(For Vista only) Lists the threads that are blocked. No threads are blocked if this field is empty. A wait chain is an alternating sequence of threads and synchronization objects. Each thread waits for the object that follows it, and that object is owned by the subsequent thread in the chain. The view also reports when a deadlock is detected. |
The current process and current thread become the context for the next user action, for example, run, pause, or reset.
The following wait chain icons can appear in the Thread list view.
|
Represents non-current, non-blocked threads. |
|
Represents the currently active thread. |
|
Represents all non-current processes (only seen if you are debugging more than one process). |
|
Represents a deadlocked thread. |
|
Represents the currently active process. |
Right-click the Thread Status window to display the following commands.
Item |
Description |
View Source |
Displays the Code Editor at the corresponding source location of the selected thread ID, but does not make the Code Editor the active window. |
Go to Source |
Displays the Code Editor at the corresponding source location of the selected thread ID and makes the Code Editor the active window. |
Make Current |
Makes the selected thread the active thread if it is not so already. If the thread is not already part of the active process, its process also becomes the active process. |
Terminate Process |
Terminates the process, if a process is selected, or the process that the thread is part of, if a thread is selected. |
Detach Process |
Detaches the process, if a process is selected, or the process that the thread is part of, if a thread is selected.. |
Pause Process |
Pauses the process, if a process is selected, or the process that the thread is part of, if a thread is selected. This option is available only if the process is running. |
Process Properties |
Lets you set debugger options temporarily for a particular process during the debugging session. |
Dockable |
Enables drag-and-dock for the Thread Status window. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|