Debuggers for C++ C++ Debuggers C++ Debuggers
the GNU debugger
the LLVM project's debugger
comes with a terminal 'GUI'
(invoked with command gui inside lldb)
- records program state over time
- replay & debug same recording many times
- reverse execution
- chaos mode for catching intermittent bugs
- claims to be faster and more memory efficient than GDB
does also provide record & replay debugging like rr
(here called time travel debugging
)
- debugging of DLL and EXE files
- UI with symbol view, thread view, source code view, dynamic stack view, memory map
- built-in assembler, decompiler
- supports executable patching
template metaprogramming debugger
part of Metashell, an iteractive template metaprogramming shell
GDB Frontends
- runs in the command line
- split screen with source code window
- shows break points and current instruction
- install on Ubuntu/Debian/WSL: sudo apt install -y cgdb
- browser-based frontend for GDB
- install via pip: sudo pip install gdbgui
- official GNU debugger frontend
- The UI is a bit old-fashioned, but it is actually quite usable if you spend some time with it.
- install on Ubuntu/Debian/WSL: sudo apt install -y ddd
debugging with GDB in Microsoft Visual Studio
relatively new Qt-based GUI frontent for GDB
Online GDB
Online compiler and debugger tool for C, C++, Python and many other languages.
Comments…