By default, the debugger includes the following set of debugger variables that enables you to easily access several thread sets. You can use these variables to define your own thread sets:
$allthreads |
All existing debuggee threads. |
$currentlockstepthreads |
The threads that have the same program counter as the current thread. |
$currentopenmpteam |
In OpenMP*, a parallel region creates a thread team. When the current thread is a member of a thread team, then $currentopenmpteam is set to all the threads that are in the same innermost team as the current thread. |
$currentthread |
The current thread. When an event occurs, the debugger sets the current thread to the eventing thread. To make a thread the current thread, double-click it in the Threads window or use the thread command. |
$frozenthreads |
The threads that are currently frozen. |
$lasteventingthread |
The thread that triggered the last debug event. A debug event is a breakpoint, syncpoint, signal raising or exception. |
$uninterruptedthreads |
The threads that are marked as uninterrupted. |
Copyright © 2001-2011, Intel Corporation. All rights reserved.