Mantissa Bridge — VS Code extension
A tiny extension that exposes the active VS Code debug session to Mantissa's Debugger mode, so Mantissa can read your locals, evaluate expressions, and chart fixed-point variable pairs against their float reference while you're stopped at a breakpoint. What it doesWhen a debug session starts, the extension:
When the session ends, the server closes and the file is deleted. Mantissa scans for those files, finds the port, connects, and you see your session in the picker. Why?Mantissa used to ship a This extension lives one layer up — inside VS Code — so the install is identical on every OS, and it works for every DAP debugger (cppdbg / lldb / cppvsdbg / debugpy / CodeLLDB / …) instead of just gdb. InstallFrom the marketplace (preferred): in VS Code's Extensions panel (Ctrl+Shift+X) search "Mantissa Bridge" and click Install. Or from a terminal:
From a
That's it. There's nothing to configure. Make sure the Mantissa app is installed, start any debug session, and Mantissa's "Search debugger sessions" will list it. Decode fixed-point valuesMantissa: Decode fixed-point value — right-click a variable in the debug sidebar's Variables (or Watch) panel, right-click a selection in the editor, or run it from the command palette. While stopped at a breakpoint the variable is read through the
active debug session; with no debugger at all you can type a raw
integer (hex Conventions match the app's converter: a signed N-bit word with Q
fractional bits, so Plot an array as a waveformMantissa: Plot array as waveform draws a one-shot snapshot of an
array/buffer at the current breakpoint. Easiest path: right-click
the variable in the debug sidebar's Variables (or Watch) panel and
pick it from the menu. Also available from the command palette or by
right-clicking a selection in the editor (for pointers, use a slice
expression — gdb: The plot is deliberately static. Watching it evolve as you step, overlaid on its float reference, with spectrograms and WAV export — that's the Mantissa app. Settings
SecurityThe TCP server binds to loopback only. There's no authentication —
any process on the same machine can read the discovery file and
connect, just as any process on your machine can already attach The extension never reaches out to the network. The full source is in
the Mantissa repo at |