Black Magic Debug
Black Magic Debug: An open-source GDB debugger with strong ARM Cortex-M and RISC-V coverage. Ranked #18 of 27 in Debuggers by our editors (7.2/10); pricing: Free plan; best for ARM Cortex-M and RISC-V hardware.
At a glance
- Editor score7.2 / 10
- PricingFree plan
- Best forARM Cortex-M and RISC-V hardware
- Free planYes
- Paid fromFree
- Facts checked20 Sep 2026

Where it wins
- Automatic target detection reduces initial configuration work.
- JTAG, SWD, flash programming, watchpoints, and semihosting are included.
- Works with GDB, PlatformIO, VS Code, Eclipse, and STM32CubeIDE.
Where it doesn't
- Its target focus is narrower than general-purpose debugging tools.
- Advanced breakpoint coverage varies by target and configuration.
- Official hardware is sold through distributors rather than as part of the software.
Our verdict on Black Magic Debug
Black Magic Debug is open-source firmware and a standalone application that provides a GDB server for embedded microcontrollers. It connects to targets through JTAG or Serial Wire Debugging and supports automatic target detection, remote GDB sessions, program loading, breakpoints, watchpoints, memory and register inspection, flash programming, semihosting, and Serial Wire Output. The project is aimed at professional and beginner embedded developers who want a command-line-oriented workflow without OpenOCD as an intermediary. It runs on Windows, macOS, and Linux, with target support spanning ARM Cortex-M, ARM Cortex-A, and RISC-V.
Its strongest fit is a GDB-centered embedded workflow. The USB serial interface provides remote GDB connectivity, while automatic target detection can simplify work across supported boards. Hardware watchpoints and flash breakpoints address common firmware debugging needs, and flash programming is built into the same tool. Semihosting, Serial Wire Output, memory examination, register inspection, and USB DFU firmware upgrades add useful coverage for development and probe maintenance. Integrations with GNU GDB, PlatformIO, Visual Studio Code, Eclipse, Sublime Text, and STM32CubeIDE make it suitable for both command-line and editor-based environments.
Black Magic Debug is a strong choice for developers working with supported ARM and RISC-V microcontrollers who want open-source firmware and a focused debugging path. The open-source model keeps the software available as a free plan, while official hardware is sold through distributors. Some capabilities depend on the connected probe, target architecture, and build configuration, so hardware and target compatibility matter. Teams seeking a broader debugging scope or established support for advanced breakpoint types should consider a tool with wider target coverage and more explicitly defined breakpoint support instead.
Your product? Our editors can test Black Magic Debug in depth and publish a review, labelled as paid · from $149/mo →
Black Magic Debug pricing
Black Magic Debug fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Supported languages | Not verified |
| Target platforms | ARM Cortex-M, ARM Cortex-A, RISC-V |
| Remote debugging | Yes |
| Conditional breakpoints | Not verified |
| Exception breakpoints | Not verified |
| Time-travel debugging | Not verified |
| Core dump debugging | Not verified |
| Deployment | Self-hosted, Desktop |
| Platforms | Windows, macOS, Linux |
| Support | Community, Docs |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 6 integrations: GNU GDB, PlatformIO, Visual Studio Code, Eclipse, Sublime Text, STM32CubeIDE |
| Pricing | Free plan |
| Website | black-magic.org |
| Facts checked | 20 Sep 2026 |
Black Magic Debug integrations
Black Magic Debug lists 6 integrations on its own site.
- GNU GDB
- PlatformIO
- Visual Studio Code
- Eclipse
- Sublime Text
- STM32CubeIDE
Alternatives to Black Magic Debug
- GDBA free, open-source debugger with unusually broad language, target, and remote-debugging coverage.9.4
- LLDBA capable, free debugger for C/C++ and Apple-platform development.9.2
- WinDbgA free, deeply capable debugger for Windows applications, drivers, and crash analysis.9.0
See all Black Magic Debug alternatives →
Used Black Magic Debug? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Black Magic Debug for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
Black Magic Debug is listed in our Debuggers directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/black-magic-debug/"><img src="https://www.itechguides.com/best/badge/black-magic-debug.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


