GDB (GNU Debugger)
Listed in Debian as gdb
GNU Debugger
TestedCommand lineDevelopmentDebuggers and profilers
Tested: works, with limits
Programs you start under gdb debug normally: breakpoints, watchpoints, threads and crash backtraces. gdb -p attaches only to programs started from the same Terminal tab, and finds their symbols only after symbol-file -o with the load address from /proc/PID/maps.
- Pixel 10 Pro XL · Android 17 · Debian 13 · GDB 16.3 stopped at breakpoints, stepped, printed variables, caught a watchpoint and a crash, and listed threads; attached to a running program with -p.
GDB (GNU Debugger) in Breadstick
Breadstick runs Debian's own gdb package for ARM64, the build a Debian 13 computer with an ARM processor installs, and a test on a device found the limits above. It is a command line program rather than an app with a window of its own: you run it by typing its command in Breadstick's Terminal, or in any terminal window on the Linux desktop, and it needs no Desktop or Floating session running.
Commands in the package
gdbgcoregdb-add-indexgdbtuigstack
Type one in Breadstick's Terminal to run it.
Debuggers and profilers were tested on a phone: they debug, trace and profile the programs they start. Attaching to a program that is already running reaches only one started from the same Terminal tab, because Breadstick's Linux system runs every program under proot, which already traces it. More in the docs: The Terminal.
About GDB (GNU Debugger)
From Debian's package description
GDB is a source-level debugger, capable of breaking programs at any specific line, displaying variable values, and determining where errors occurred. Currently, gdb supports C, C++, D, Objective-C, Fortran, Java, OpenCL C, Pascal, assembly, Modula-2, Go, and Ada. A must-have for any serious programmer.
From Debian's description of the gdb package, under that package's license.
Related apps
- straceSystem call tracerCommand lineTested
- Valgrindinstrumentation framework for building dynamic analysis toolsCommand lineTested
- rustupRust toolchain installerCommand line
Data Display DebuggerGraphical debugger frontend- OpenSSH clientsecure shell (SSH) client, for secure access to remote machinesCommand line
- Pythoninteractive high-level object-oriented language (default python3 version)Command lineTested
Sources and licenses
- Name: the name people know it by, chosen for this catalog; Debian's package is gdb.
- Summary: Debian's short description of the gdb package, under that package's license.
- Description: Debian's description of the gdb package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.