sym_crashes
Extract crash and exception data from log files, including .NET stack traces and C++ crash dumps, to diagnose failures and analyze error patterns.
Instructions
Extract crash and exception data. Modes: managed (.NET stack traces), native (C++ crash dumps from pd logs).
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": {
"mode": "<mode>",
"files": "<files>"
},
"name": "sym_crashes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | 'managed' for .NET exceptions, 'native' for C++ crash dumps, 'managed-jsonl'/'native-jsonl' for structured output | |
| files | Yes | Log files to analyze. For native mode, use pd-*.txt files. | |
| limit | No | Max results (default 20) | |
| logDir | No | Override log directory for this call only. Absolute path to a log directory or bug report folder. If omitted, uses the directory set by sym_open (or LOG_DIR env var). | |
| includeNative | No | For managed mode: include native C++ traces too (default true) | |
| exceptionFilter | No | For managed mode: filter by exception type substring, e.g. 'Timeout' | |
| framesPerThread | No | For native mode: max stack frames per thread (default 8) | |
| threadsPerCrash | No | For native mode: max threads per crash (default 3) |