---
name: "LeakTracer"
section: "1"
platform: "linux"
package: "leaktracer"
version: "2.4-6.1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/LeakTracer"
---

# LeakTracer(1)

a memory-usage debugger for C++ programs

## NAME

LeakTracer - a memory-usage debugger for C++ programs

## SYNOPSIS

**LeakCheck** *program* \[ *program arguments ...* \]

**leak-analyze** *program* \[ *leak.out* \] \[ *main* \] \[ *program arguments ...* \]

## DESCRIPTION

This manual page documents briefly the **LeakCheck** and **leak-analyze** commands.

This manual page was written for the Debian distribution because the original program does not have a manual page.  Instead, it has documentation in the HTML format; see below.

**LeakCheck** is a small script that executes a C++ program while logging informations about calls to **new** and **delete** into a *leak.out* file.

**leak-analyze** gives a human-readable report of the contents of a *leak.out* file, by calling [**gdb**(1)](/gdb/1.md) to display the faulty lines.

## OPTIONS

These programs accept no special options.  For an explanation of the possible arguments to **leak-analyze**, see the full documentation.

## SEE ALSO

The official documentation in */usr/share/doc/leaktracer/README.\**, available both in HTML and plain text.

[**gdb**(1)](/gdb/1.md)

## AUTHOR

This manual page was written by Yann Dirson \<dirson@debian.org\> for the Debian system (but may be used by others).  Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1, as published by the Free Software Foundation, with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
