Install valgrind-dbg by entering the following commands in the terminal:
sudo apt update sudo apt install valgrind-dbg
Description:
instrumentation framework for building dynamic analysis tools (debug)
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. . This package provides the debug symbols for valgrind's tools and libraries.
Homepage: http://www.valgrind.org/
Version: 1:3.13.0-2ubuntu2
Section: debug