Black Magic Debug vs dnSpyEx
Black Magic Debug
black-magic.orgdnSpyEx
github.comSide by side
| Figure | Black Magic Debug | dnSpyEx |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | — |
| Linux | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · Debuggers | 8.7 (#1) | 7.9 (#11) |
| Integrations | The documentation includes usage guides for PlatformIO and STM32CubeIDE. | To debug Unity games, the project says the dnSpyEx Unity Mono repository is also needed. |
| Purpose | Black Magic Debug is a mostly plug-and-play JTAG/SWD debugger for embedded microcontrollers. | dnSpyEx is an unofficial continuation of dnSpy, a debugger and .NET assembly editor for working with assemblies without source code. |
Plans
In their own words
Black Magic Debug
Black Magic Debug is a free JTAG/SWD debugger for embedded microcontrollers, aimed at professional developers who want control over build systems and testing environments. Its firmware includes a GDB server that detects targets automatically, without target-specific configuration scripts. Debugging tools include watchpoints, flash memory breakpoints, memory and register examination, and flash programming. The project describes support for ARM Cortex-M and Cortex-A microcontrollers; its listed target platforms also include RISC-V, and remote debugging is supported. The probe connects as a standard USB CDC ACM virtual serial device, with no special driver needed for this interface on Linux or macOS. The debugger works with Linux, macOS, and Windows. The GDB server also supports semihosting and host I/O, Serial Wire Output, and USB DFU firmware upgrades. Documentation includes guides for PlatformIO and STM32CubeIDE. It can also be compiled as a desktop application and used with BMP, ST-Link, FTDI-MPSSE, SEGGER J-Link, or CMSIS-DAP adapters. Desktop-app programming is a little slower, though BMP development may be faster because firmware upload is unnecessary. Getting started requires a Black Magic Probe and a suitable target toolchain.
dnSpyEx
dnSpyEx is an unofficial continuation of dnSpy, a debugger and .NET assembly editor for working with assemblies without source code. It can debug .NET Framework, .NET, and Unity game assemblies, with breakpoints, tracepoints, conditional breakpoints, exception breakpoints, and multiple-process debugging. Editing covers metadata and methods or classes in C# and Visual Basic, plus low-level IL method bodies. The project lists C# and Visual Basic decompilers using the ILSpy engine, along with a BAML decompiler and disassembler. Assembly search, class and method usage analysis, caller finding, bookmarks, and project export are also included. A public API supports extensions, and the C# Interactive window can control or script dnSpyEx. The latest stable release listed is v6.6.0, which adds a .NET 10 distribution. It is free under GPLv3. Release notes describe Wine compatibility adjustments for Linux, not native Linux support. Dynamic methods cannot be debugged because of CLR limitations.