This documentation is archived and is not being maintained.

General Tab, Thread Properties Dialog Box


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at General Tab, Thread Properties Dialog Box.

Use this dialog box to find out more about a specific thread. To display this dialog box, move the focus to a Threads View window, or open Messages View and expand a message. Select any thread node in the tree, then choose Properties from the View menu.

The Thread Properties dialog box contains one pane, the General tab. The following settings are available:

Module NameThe name of the module.
Thread IDThe unique ID of this thread. Note that thread ID numbers are reused; they identify a thread only for the lifetime of that thread.
Process IDThe unique ID of this process. Process ID numbers are reused, so they identify a process only for the lifetime of that process. The Process object type is created when a program is run. All the threads in a process share the same address space and have access to the same data. Choose this value to view the properties of the process ID.
Thread StateThe current state of the thread. A Running thread is using a processor; a Standby thread is about to use one. A Ready Thread is waiting to use a processor because one is not free. A thread in Transition is waiting for a resource to execute, such as waiting for its execution stack to be paged in from disk. A Waiting thread does not need the processor because it is waiting for a peripheral operation to complete or a resource to become free.
Wait ReasonThis is applicable only when the thread is in the Wait state. Event Pairs are used to communicate with protected subsystems.
CPU TimeTotal CPU time spent on this process and its threads. Equal to User Time + Privileged Time.
User TimeThe total elapsed time that this thread has spent executing code in User Mode. Applications execute in User Mode, as do subsystems like the window manager and the graphics engine.
Privileged TimeThe total elapsed time that this thread has spent executing code in Privileged Mode. When a Windows system service is called, the service will often run in Privileged Mode to gain access to system-private data. Such data is protected from access by threads executing in User Mode. Calls to the system may be explicit, or they may be implicit, such as when a page fault or an interrupt occurs.
Elapsed TimeThe total elapsed time (in seconds) this thread has been running.
Current PriorityThe current dynamic priority of this thread. Threads within a process can raise and lower their own base priority relative to the base priority of the process.
Base PriorityThe current base priority of this thread.
Start AddressStarting virtual address for this thread.
User PCThe user program counter for the thread.
Context SwitchesThe number of switches from one thread to another. Thread switches can occur either inside a single process or across processes. A thread switch may be caused by one thread asking another for information, or by a thread being preempted when a higher priority thread becomes ready to run.