select_thread
Switch debugging context to a specific thread by ID, enabling inspection of its stack and local variables.
Instructions
Switch to a specific thread (GDB 'thread N').
Use list_threads to see thread IDs. After switching, stack and local variable commands operate on the selected thread.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |