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.
--debugger since Debian 13 (Trixie);
-d since Debian 13 (Trixie).