Erlang Debugger vs GDB
Erlang Debugger
erlang.orgGDB
sourceware.orgSide by side
| Figure | Erlang Debugger | GDB |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Debuggers | 7.6 (#14) | 8.0 (#9) |
| Distribution | The Erlang/OTP download page offers source builds, Windows installers, and package-manager instructions for macOS and several Linux distributions. | Official releases are downloadable from GNU's HTTPS server and Sourceware's releases site, with signature verification through the GNU keyring. |
| License | Erlang/OTP has been released under Apache License 2.0 since OTP 18.0. | GDB is free software protected by the GNU General Public License, which permits copying, adapting, and redistributing copies with source access. |
| Purpose | Erlang Debugger is a graphical interface for the Erlang interpreter used to debug and test Erlang programs. | GDB lets users inspect what another program is doing while it executes or after it crashes. |
Plans
In their own words
Erlang Debugger
Erlang Debugger is a graphical interface for debugging and testing Erlang programs. Developers can set line, conditional, and function breakpoints, then attach to a process to step, continue, finish, skip, or stop its execution. The Attach Process window displays variable bindings and allows editing values when they can be represented in the running system. A Monitor window shows interpreted modules and information about processes running interpreted code. Debugger can record interpreted function calls for stack navigation, though recording tail calls uses more memory and can slow execution when many tail-recursive calls are involved. Modules need debug information, for example from compilation with `erlc +debug_info`. Global mode can interpret code on known nodes and display their processes, but the documentation warns that using global mode on multiple network nodes can cause interference. The debugger is listed for Linux, macOS, and Windows, and Erlang/OTP releases from version 18.0 onward use the Apache License 2.0. Debugging has runtime tradeoffs: interpreted code runs slower, each debugged process adds a meta process, and timers or tracing may behave differently.
GDB
GDB is a free debugger for inspecting a program as it runs or after it crashes. It can launch programs, stop execution under specified conditions, examine the stopped state, and change program state for experimentation. A target can run on the same machine, remotely, or in a simulator. GDB runs on popular UNIX variants, Microsoft Windows, and macOS, and supports languages including C, C++, Rust, Go, Ada, Fortran, Assembly, and others. Debugging options include conditional and exception breakpoints, core dump debugging, and record-and-replay with forward and reverse execution on supported platforms. For remote debugging, gdbserver connects a program to GDB. The console interpreter and GDB/MI are available, while Python extensions and the Debugger Adapter Protocol require Python support at build time. GDB is part of the GNU Project and is free software under the GNU General Public License, which allows copying, adaptation, and redistribution with source access. Official releases are available from GNU and Sourceware, with signature verification through the GNU keyring. Version 18.1 was released on September 25, 2026.