Examining Threads

The debugging panel includes Threads mode to examine the state of currently running threads and to allow switching between threads for debugging purposes. An example of the debugging panel in Threads mode appears below:

The display includes four columns: an Id, an indicator for the current thread, the State of each thread, and the last known subprogram reached in the thread. The Id is an internal thread identifier used by the debugger, and it may not correspond to the operating system’s definition of the thread identifier. The Current column will display an asterisk next to the Id of the thread the debugger is currently treating as its primary thread. The state column will show the thread’s current state, whether it is running or paused. Finally, the Last Subprogram column will show the last known subprogram at which the thread was paused; it does not reflect the current position for threads that are running.

Right-clicking on any thread will open a popup menu. Users can set the selected thread as the current thread or open the last known subprogram location in the editor.

Double-clicking on a thread will open its last known subprogram in the editor.

See Also

Debugging in Simply Fortran