You copied the Doc URL to your clipboard.

thread, core

This command displays the following information:

  • Unique id number assigned by the debugger.

  • Thread or processor state. For example, stopped or running.

  • Current stack frame including function names and source line numbers.


thread [id]

core [id]



Specifies the unique thread or processor number. If id is not specified then the current thread or processor is displayed. You can use info cores, info processes, or info threads to display the id numbers.

If id is specified then the debugger switches control to that thread or processor before displaying the information. Registers and call stacks are associated with a particular thread or processor. This means that switching context also switches the registers and call stack to those belonging to the current thread or processor.


thread 699                            # Set current thread to number 699
core 2                                # Set current processor to number 2