create_session
Start a CDB debugging session for live processes, dump files, or remote targets, specifying session type and target to enable subsequent debugger commands.
Instructions
Create a CDB debug session by launching a cdb.exe subprocess.
Four session types:
live_launch: launch a new process under the debugger (target=exe path, args=launch args)
live_attach: attach to a running process (target=PID)
dump: load a dump file (target=dump file path)
remote: connect to a remote debug server (target=connection string)
After creation, use the execute tool to send CDB commands.
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": {
"type": "<type>",
"target": "<target>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| type | Yes | ||
| target | Yes | ||
| image_path | No | ||
| source_path | No | ||
| symbols_path | No | ||
| engine_options | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |