RAD Studio (Common)
ContentsIndex
PreviousUpNext
Threads

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.  

Tip: The current process is marked with a green arrow. Non-current processes are marked with a light blue arrow.  

The current process and current thread become the context for the next user action, for example, run, pause, or reset.

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!