KDbg is a graphical interface to GDB, the GNU Debugger. It provides an alternative to working directly with GDB’s command-line interface, making common debugging operations accessible through menus, keyboard shortcuts and dedicated panels.
The application is designed for the KDE desktop environment, with support for KDE Frameworks 6 as well as the older Frameworks 5. It can be used to debug programs regardless of whether they were developed with KDE or Qt.
KDbg is particularly useful for examining variables and navigating through source code. It presents program state in a structured form, helping developers follow execution and investigate unexpected behaviour.
This is free and open source software.
Key Features
- Inspect variables and data structures using an expandable tree view.
- Display selected members of compound data types without requiring users to expand the entire structure.
- Recognise Qt data types such as QString and display their values appropriately.
- Set conditional breakpoints and enable, disable or remove existing breakpoints.
- Control execution using keyboard shortcuts for stepping, continuing and finishing functions.
- Attach to running processes or analyse core dumps produced by crashed applications.
- Inspect stack frames, local variables, watched expressions and thread information.
- Display source code and associated machine instructions to help investigate low-level behaviour.
- Configure command-line arguments and environment variables for the program being debugged.
Website: www.kdbg.org
Support: Manual, GitHub Code Repository
Developer: Johannes Sixt and contributors
License: GNU General Public License v2.0

KDbg is written in C++. Learn C++ with our recommended free books and free tutorials.
Related Software
| Debuggers | |
|---|---|
| LLDB | Next generation, high-performance debugger |
| Ghidra | Software reverse engineering framework |
| Delve | Source level debugger for the Go programming language |
| GDB | The GNU Debugger |
| Valgrind | A memory debugger and profiler |
| Radare2 | Portable reversing framework |
| BugStalker | Rust debugger |
| Xdebug | Extension for PHP to aid debugging and development |
| Seer | GUI frontend to GDB |
| iaito | Graphical interface for radare2 |
| KDbg | Graphical user interface to GDB |
| strace | Diagnostic, debugging and instructional userspace utility |
| rr | Record-and-replay debugger |
| gf | Lightweight GDB interface with source, stack and memory views |
| drgn | Programmable debugger that puts scripting at the centre |
| cgdb | Lightweight console frontend to the GNU debugger |
| PuDB | Console-based visual debugger for Python |
| nnd | Partially inspired by RemedyBG |
| bashdb | Source-code debugger for bash; follows the GDB command syntax |
| PINCE | Memory scanning, process manipulation and reverse engineering |
| edb | Low-level debugging with disassembly and register inspection |
| Sysprof | Profile an application or entire system |
| crash | Linux kernel crash analysis utility |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.