NotesΒΆ

Recompile Debian package:

apt-get build-dep program
cd /tmp
apt-get source program
cd program(...)
# make sure that noopt is supported
# if not, set CFLAGS to -O0 -ggdb
DEB_BUILD_OPTIONS="nostrip noopt" dpkg-buildpackage -rfakeroot -us -uc