CGREEN-DEBUG(1)
π CGREEN-DEBUG π
okay so bestie, welcome to the cgreen-debug manual page β it lives in the General Commands Manual, and it's here to hold your hand while you go bug-hunting in your test suite. no cap, this one's a lifesaver. π«Ά
β¨ NAME β¨
cgreen-debug β kick off cgreen-runner under a debugger and slam a breakpoint right on a specific test. like, that test. the one that's been ghosting you. π
πΈ SYNOPSIS πΈ
cgreen-debug [OPTION...] LIBRARY TEST
π¦ DESCRIPTION π¦
cgreen-debug is a script, bestie β a little script with big main character energy. what it does is start up cgreen-runner under a debugger (primarily gdb, iykyk), load a LIBRARY, and break on a named TEST. it's giving "personalized VIP entrance for one specific test". π
so, the deets:
LIBRARYβ this is a filename of the shared library that holds your Cgreen tests. usually it's a.so, a.dll, or a.dylib, depending on whatever platform you're living on. no judgement, we love all platforms here. πTESTβ the name of a test inside that library, and it's gotta be in the format<context>:<test_name>. yes, with the colon. don't forget the colon, that's the whole vibe check. β¨
π OPTIONS π
-h,--helpβ prints some usage info and then dips out. exit stage left. π-d,--debuggerdebugger β instead of the default (gdb), use debugger as your debugger. the allowed values are"gdb","cgdb", and"lldb". pick your fighter. π₯
π SEE ALSO π
the full documentation for cgreen-debug and the Cgreen framework lives in the Cgreen manual, available over on GitHub. go read it, it's iconic. πβ¨
fr fr, that's the whole page. go set that breakpoint, bestie. you got this. π
mwah π β that was CGREEN-DEBUG(1) from the General Commands Manual, signing off. periodt.
π¦ where this page comes from
- alpine 3.24: cgreen-doc 1.6.4-r0 Β· ISC
- debian trixie: cgreen1 1.6.4-1 Β· ISC
- epel 10: cgreen-runner 1.6.5-2.el10_3 Β· ISC
- fedora 43: cgreen-runner 1.6.2-4.fc41 Β· ISC
- fedora 43: cgreen-runner 1.6.5-2.fc43 Β· ISC
- fedora 44: cgreen-runner 1.6.3-1.fc44 Β· ISC
- fedora 44: cgreen-runner 1.6.5-2.fc44 Β· ISC
- nixos 26.05: cgreen 1.6.4
- nixpkgs unstable: cgreen 1.6.5
- ubuntu noble: cgreen1 1.6.3-1build1 Β· ISC
- ubuntu questing: cgreen1 1.6.4-1build1
- ubuntu resolute: cgreen1 1.6.4-3 Β· ISC
- ubuntu stonking: cgreen1 1.7.0-1 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms