Valgrind

instrumentation framework for building dynamic analysis tools

TestedCommand lineDevelopmentDebuggers and profilers

Tested: works in Breadstick

Valgrind in Breadstick

Breadstick runs Debian's own valgrind package for ARM64, the build a Debian 13 computer with an ARM processor installs, and a test on a device, above, saw it run. 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

  • valgrind
  • callgrind_annotate
  • callgrind_control
  • cg_annotate
  • cg_diff
  • cg_merge
  • ms_print
  • valgrind-di-server
  • valgrind-listener
  • valgrind.bin
  • vgdb

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 Valgrind

From Debian's package description

Valgrind is a system for debugging and profiling Linux programs. With its tool suite you can automatically detect many memory management and threading bugs, avoiding hours of frustrating bug-hunting and making your programs more stable. You can also perform detailed profiling to help speed up your programs and use Valgrind to build new tools.

The Valgrind distribution currently includes six production-quality tools:

  • a memory error detector (Memcheck)
  • two thread error detectors (Helgrind and DRD)
  • a cache and branch-prediction profiler (Cachegrind)
  • a call-graph generating cache and branch-prediction profiler (Callgrind)
  • a heap profiler (Massif)

It also includes three experimental tools:

  • a stack/global array overrun detector (SGCheck)
  • a second heap profiler that examines how heap blocks are used (DHAT)
  • a SimPoint basic block vector generator (BBV)

From Debian's description of the valgrind package, under that package's license.

Related apps

All programs in Debuggers and profilers

Sources and licenses

  • Name: the name people know it by, chosen for this catalog; Debian's package is valgrind.
  • Summary: Debian's short description of the valgrind package, under that package's license.
  • Description: Debian's description of the valgrind 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.