You copied the Doc URL to your clipboard.

info threads

This command displays a list of running processors, threads, and user space processes as applicable. It shows the number (a unique number assigned by the debugger), OS ID (pid), OS Parent ID, kind, OS state, current state, and related stack frame including the function names and source line number.

Syntax

info threads [-f filter_name]

Where:

filter_name

The available options for filter_name depend on the connected target.

The following filters are available on all connections:

all

Displays processors, threads, and user space processes.

cores

Displays processors.

The following filters are only available on Linux kernel connections:

processes

Displays user space processes.

threads

Displays threads. This is the default.

Example

info threads                # Display all threads
info threads -f processes   # Display user space processes on a Linux kernel connection