What is GDB (GNU Debugger)?
GDB (GNU Debugger) is made by Free Software Foundation (GNU Project). A command-line, source-level debugger for compiled programs that supports running and attaching to processes, stopping on specified conditions, inspecting and modifying program state, post-mortem analysis after crashes, and debugging targets locally or over remote connections.
What GDB (GNU Debugger) does
A command-line, source-level debugger for compiled programs that supports running and attaching to processes, stopping on specified conditions, inspecting and modifying program state, post-mortem analysis after crashes, and debugging targets locally or over remote connections.
- Start programs under the debugger with control over arguments and environment
- Stop execution on specified conditions using breakpoints, watchpoints, and catchpoints (including conditional breakpoints)
- Examine program state when stopped (e.g., stack frames, variables, threads)
- Modify program state at runtime to experiment with fixes (e.g., change variable values)
- Remote debugging over serial or TCP/IP, including use of a server component (gdbserver) and remote stubs
- Text User Interface (TUI) mode with curses-based source/assembly/register windows in the terminal
- Machine-oriented interface (GDB/MI) intended for building debugger front-ends/IDE integrations
- Extensibility via scripting, including Python-based extensions and custom commands
Category: Integrated Development Environment (IDE) Software. GDB (GNU Debugger) is open source and free to use.
What teams use it for
- Interactive debugging of native applications during development (step/continue, inspect state, set breakpoints)
- Post-mortem crash analysis using core dumps
- Remote debugging of embedded targets, kernels, or systems that cannot run a full debugger locally
- IDE/editor integration and automation via a machine interface and scripting
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does GDB (GNU Debugger) do?
A command-line, source-level debugger for compiled programs that supports running and attaching to processes, stopping on specified conditions, inspecting and modifying program state, post-mortem analysis after crashes, and debugging targets locally or over remote connections.
How common is GDB (GNU Debugger) in large enterprises?
Samplify finds GDB (GNU Debugger) in about 2 in 10 of the large enterprise software estates it has analysed.
Is GDB (GNU Debugger) free?
GDB (GNU Debugger) is open source and free to use.
What can replace GDB (GNU Debugger)?
Other tools in the same category include Notepad++, PyCharm, Visual Studio, Azure Data Studio.
Do we already own something that does what GDB (GNU Debugger) does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with Free Software Foundation (GNU Project).