1CGREEN-DEBUG(1) General Commands Manual CGREEN-DEBUG(1)
2
3
4
6 cgreen-debug - start cgreen-runner under a debugger and break at a spe‐
7 cific test
8
9
11 cgreen-debug [OPTION...] LIBRARY TEST
12
13
14
16 cgreen-debug is a script to start cgreen-runner under a debugger (pri‐
17 marily gdb), load a LIBRARY and break on a named TEST. Where LIBRARY
18 is a filename of the shared library of Cgreen tests, usually .so, .dll
19 or .dylib, depending on your platform. TEST is the name of a test in
20 that library in the format <context>:<test_name>.
21
22
23 OPTIONS
24 -h, --help
25 Print some usage information and exit.
26
27
28 -d, --debugger debugger
29 Instead of default (gdb) use debugger as the debugger. Allowed
30 values are "gdb", "cgdb", "lldb".
31
32
34 cgreen(5) cgreen-runner(1)
35
36
37 The full documentation for cgreen-debug and the Cgreen framework is in
38 the Cgreen manual available at GitHub ⟨https://cgreen-devs.github.io/⟩.
39
40
41
42 CGREEN-DEBUG(1)