debug_compare_runs
Compare evidence from two stopped debugger sessions to isolate meaningful differences in stack frames, locals, registers, exceptions, symbols, and modules for baseline-vs-candidate differential debugging.
Instructions
Compare bounded runtime evidence from two existing stopped DAP sessions. Use this for baseline or known-good versus candidate or failing differential debugging after both sessions have reached comparable stops. It compares stack identities, locals, registers, exception state, symbol health, and modules semantically; non-null raw address-only changes are marked unstable rather than causal evidence. Do not use it to launch, resume, or alter either target; prepare both runtime states with the normal lifecycle tools first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | No | Bounded evidence capture settings applied independently to both sessions. | |
| timeoutMs | No | Aggregate deadline for collecting both snapshots. Cancellation propagates to pending DAP requests/event waits in this operation context. | |
| baselineSessionId | Yes | Session representing the known-good or baseline runtime state. | |
| candidateSessionId | Yes | Session representing the failing or changed runtime state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diff | Yes | ||
| baseline | Yes | ||
| guidance | Yes | ||
| candidate | Yes | ||
| evidenceBudget | Yes | ||
| baselineSessionId | Yes | ||
| candidateSessionId | Yes |