A program can be composed of several threads. All these threads are executed independently, having their own registers, stack and local variables, but sharing global variables.
From the main menu, select View ▸ Thread to open the Thread window.
The window shows the following information about each thread:
This contains a yellow arrow that points to the active thread.
This is a number corresponding to each thread.
The name of the file containing the function corresponding to the current frame of the current thread.
The line number of the function corresponding to the current frame of the current thread.
The name of the function corresponding to the frame of the current thread.
The address of the function corresponding to the frame of the current thread.
The current thread is the thread whose stack and local variables are currently displayed in the debugger.
In the Thread window, select the thread you want.
Right-click and select Set current thread.
In the Thread window, select the thread you want.
Double-click, or right-click and select View Source.
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.