cgreen-debug(1)

cgreen-debug1

Start cgreen-runner under a debugger and break at a specific test

Usage

cgreen-debug [OPTION ...] LIBRARY TEST

Overview

cgreen-debug is a script to start cgreen-runner under a debugger (primarily gdb), load a LIBRARY and break on a named TEST. Where LIBRARY is a filename of the shared library of Cgreen tests, usually .so, .dll or .dylib, depending on your platform. TEST is the name of a test in that library in the format <context>:<test_name>.

Options

-h, --help

Print some usage information and exit.

-d, --debugger debugger

Instead of default (gdb) use debugger as the debugger. Allowed values are "gdb", "cgdb", "lldb".

Releases

2 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 13

--debugger since Debian 13 (Trixie); -d since Debian 13 (Trixie).

From cgreen1 1.6.4-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.