ADDDEBUG(1)

πŸ“¦
version 26.08.2 Β· 2 versions
  • 26.08.2 Β· arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 26.04.2 Β· alpine 3.24
, in arch rolling, debian bookworm, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸŽ€ adddebug(1) πŸŽ€

Hiii bestie, this is the manual page for adddebug, the command that gives your build a whole glow-up πŸ’–

✨ NAME ✨

adddebug, aka modifies Makefile(s) to add debug info πŸ¦‹

✨ SYNOPSIS ✨

Here's how you call it, no cap πŸ’…

adddebug [-k] [-r] [-n]

✨ DESCRIPTION ✨

Okay so adddebug goes into the Makefile in your current directory (and, if you want, its subdirectories too 🌸) and adds debug info with -g3. It also yeets the optimisations, the -O[1-9] flags, lowkey dramatic but that's the vibe πŸ’€

This utility is part of the KDE Software Development Kit πŸ‘‘, which is literally so iconic.

✨ OPTIONS ✨

  • -k β€” Keeps your optimisations! By default, adddebug removes the -O[1-9]? flags, but this one says "nah, we're keeping those" 🫢
  • -r β€” Recursive mode. It digs through every subdirectory of the current directory and works on every Makefile it finds 🧚
  • -n β€” Compiles without NDEBUG and NO_DEBUG being defined, so kDebug calls actually work ✨

✨ AUTHOR ✨

Shoutout to the creator πŸ’œ

  • Ben Burton <bab@debian.org> β€” Author.

Okay bestie, that's the whole page 🌈 The footer shows the source as [FIXME: source] and the date as 2003-03-07, and the header's manual title is still [FIXME: manual], so those spots are still waiting for their glow-up πŸ₯Ήβœ¨

πŸ“¦ where this page comes from