DevOps

23 Best Free and Open Source Linux Debuggers

Debugging is an essential part of software development. When a program crashes, behaves unexpectedly or produces incorrect results, a debugger can help identify the cause. Developers can pause execution, step through code and inspect variables, memory and the call stack.

Linux offers a wide range of debugging tools. These include source-level debuggers, graphical frontends, language-specific debuggers and utilities for examining compiled binaries. Memory analysis and tracing tools can also help uncover problems that are difficult to reproduce.

Some debuggers concentrate on everyday programming tasks, while others specialise in reverse engineering, low-level analysis or investigating problems in running processes. Our selection covers these different approaches. Bug tracking software are covered in our Issue Tracking roundup.

A memory debugger is a programming tool for finding memory leaks and buffer overflows. These are due to bugs related to the allocation and deallocation of dynamic memory. Programs written in languages that have garbage collection, such as managed code, might also need memory debuggers.

Here’s a legendary LinuxLinks-style ratings chart capturing our recommendations. All of the software featured here are free and open source goodness.

Ratings chart

Click the links in the table to learn more about each debugger.

Debuggers
LLDBNext generation, high-performance debugger
GhidraSoftware reverse engineering framework
DelveSource level debugger for the Go programming language
GDBThe GNU Debugger
ValgrindA memory debugger and profiler
Radare2Portable reversing framework
BugStalkerRust debugger
XdebugExtension for PHP to aid debugging and development
SeerGUI frontend to GDB
iaitoGraphical interface for radare2
KDbgGraphical user interface to GDB
straceDiagnostic, debugging and instructional userspace utility
rrRecord-and-replay debugger
gfLightweight GDB interface with source, stack and memory views
drgnProgrammable debugger that puts scripting at the centre
cgdbLightweight console frontend to the GNU debugger
PuDBConsole-based visual debugger for Python
nndPartially inspired by RemedyBG
bashdbSource-code debugger for bash; follows the GDB command syntax
PINCEMemory scanning, process manipulation and reverse engineering
edbLow-level debugging with disassembly and register inspection
SysprofProfile an application or entire system
crashLinux kernel crash analysis utility

This article has been updated to reflect the changes outlined in our recent announcement.

Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted