lldb_threads
List all threads with their IDs, names, execution points, and stop reasons to debug multithreaded C/C++ programs using LLDB.
Instructions
List all threads and their current state.
Shows:
- Thread IDs and names
- Current execution point for each thread
- Stop reason (if stopped)
- Optionally: backtrace for each thread
Args:
params: ThreadsInput with executable and optional core file
Returns:
str: Thread listing with state information
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "lldb_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |