Correlate Source and Disassembly
debug_source_disassemblyCorrelate source locations, disassembly, registers, and pointer-like locals to expose root-cause evidence from a stopped crash. Use when instruction or operand provenance matters.
Instructions
Correlate source locations, disassembly, registers, and pointer-like locals for the raw fault frame and the first likely project-controlled frame. Use this for low-level root-cause evidence when a crash is already stopped and instruction/operand provenance matters; prefer debug_diagnose_stop for a broader ranked diagnosis. This is read-only, does not resume the target, and returns frame-selection reasoning, both correlations, operand bindings, and any best-effort collection errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis | No | Hints used to distinguish project code from runtime, system, or third-party frames. | |
| threadId | No | Stopped DAP thread to inspect; omit to use the session-selected stopped thread. | |
| stackLevels | No | Maximum stack frames considered while selecting the project-controlled frame. | |
| disassembleAfter | No | Instructions after the selected instruction included in each disassembly window. | |
| disassembleBefore | No | Instructions before the selected instruction included in each disassembly window. |