Thread
- 6.6.1. Thread Window
- 6.6.2. Setting the current thread
6.6.1. Thread Window
The Thread window shows all threads used by the program and indicates the current thread. Choose the menu item to open this window.
A small arrow points to the current thread. When the program is stopped, the current thread is the thread which has been interrupted. Each thread has its own stack frame, so changing the current thread changes the current stack frame.
6.6.2. Setting the current thread
Double-clicking on any thread in the thread list will set that thread as the currently selected thread. The arrow will point to the thread, indicating that it has been selected as the current thread. Alternatively, open the context menu by right-clicking on the Thread list window, and choose the menu item to set the thread.
Changing the thread changes the value of CPU registers and the current stack frame, so the Locals window changes too.
