adddebug(1)

adddebug1

Modifies makefile(s) to add debug info

Usage

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

Overview

adddebug modifies the Makefile in the current directory (and optionally in its subdirectories) to add debug info (-g3). It will also remove optimisations (-O[1-9]).

This utility is part of the KDE Software Development Kit.

Options

-k

Keep optimisations (do not remove -O[1-9]? flags which are removed by default).

-r

Recursively search through all subdirectories of the current directory and operate on every Makefile that is found.

-n

compile without NDEBUG and NO_DEBUG being defined (makes kDebug calls work)

Releases

13 releases since Debian 3.0 (Woody); the text changed 6 times.

  1. 3.0
  2. 3.1–5.0
  3. 6.0
  4. 7
  5. 8
  6. 9–10
  7. 11–Arch

-n since Debian 3.1 (Sarge).

Author

Ben Burton <[email protected]>

Author.

From kde-dev-scripts 26.08.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.