DevOps

16 Best Free and Open Source Linux Debuggers

Debugging is the process of finding and reducing the number of bugs in computer software and electronic hardware. When a program crashes, the debugger shows the position in the original code. A good debugger plays an essential role in software development.

Debugging can be more difficult when various subsystems are tightly coupled, as changes in one may cause bugs to appear in another.

This article examines three different types of debuggers: source-level debuggers and memory debuggers. 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
XdebugExtension for PHP to aid debugging and development
iaitoGraphical interface for radare2
React Native DebuggerStandalone app for debugging React Native apps
KDbgGraphical user interface to GDB
straceDiagnostic, debugging and instructional userspace utility
cgdbLightweight console frontend to the GNU debugger
PuDBConsole-based visual debugger for Python
bashdbSource-code debugger for bash; follows the GDB command syntax
SysprofProfile an application or entire system
NemiverStandalone graphical debugger for GNOME

This article has been revamped in line with our recent announcement.

Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments