Skip to content

DAP Plugin

Help query: "What does the dap plugin do?" / "How do I use dap in Volt?"

The dap plugin integrates Debug Adapter Protocol sessions. It launches adapters (codelldb, gdb, and others), manages breakpoints, stepping, threads/stack frames, locals/expressions panes, and a debug REPL.

Package namedap
Moduleuser/dap.rs

What it does

  • Start, stop, restart, continue, and pause debug sessions
  • Step over/into/out and manage breakpoints / logpoints
  • Inspect locals, expressions, and use the debug REPL
  • Switch threads and stack frames

Commands

CommandDescription
dap.startStarts a debug session.
dap.stopStops the active debug session.
dap.restartRestarts the active debug session.
dap.continueContinues execution.
dap.pausePauses execution.
dap.stepSteps over.
dap.step-intoSteps into.
dap.step-outSteps out.
dap.toggle-breakpointToggles a breakpoint at the cursor.
dap.replOpens the DAP REPL.
dap.evalEvaluates an expression.
dap.install-serverInstalls or picks a debug adapter.

Keybindings

ChordCommandScope
F5dap.start / dap.continueGlobal start; Dap scope continue
F10dap.stepDap
F11dap.step-intoDap
Space t bdap.toggle-breakpointWorkspace

Notes

Additional commands cover breakpoint conditions, logpoints, expression add/remove, goto-breakpoint, toggle-variable, and start-<adapter> variants. See user/dap.rs.

Volt — modal editor platform · docs optimized for in-editor help search