DEBUGLIB(nged)
Allows the user to set or check the debug flags used by librt.
π DEBUGLIB π
okay so real talk, this is a page from the BRL-CAD User Commands manual (the nged crew πΈ) β and it's all about one tiny command that lets you peek at or poke the debug flags that librt is using. yes bestie, that librt. π¦
β¨ NAME β¨
debuglib β the little command that sets or checks the debug flags used by librt. that's it. that's the whole vibe. π
β SYNOPSIS β
debuglib [hex_code]
so simple. so iconic. hex_code is optional and it's the only thing you can hand it. π
π DESCRIPTION π
okay so here's the tea π: debuglib lets you set or check the debug flags used by librt.
Run it with zero arguments and it's in full main-character display mode β it shows you all the possible settings for the librt debug flag plus the current value. like a little vibe check for your library. β¨
Hand it a hex_code and that value becomes the new value for the flag. no cap, that's literally the whole thing. π₯
and btw, librt isn't the only library with one of these β there are similar debug commands for other BRL-CAD libraries, iykyk:
debugbuβ the debug command forlibbuπ§debugnmgβ the debug command for the NMG portion oflibrtπ
π EXAMPLES π
Example 1. List available debug values for librt and the current value.
this one is the "no argument, just vibes" mode β it lists the available debug values for librt and the current value. π«Ά
mged>debuglib
Lists available debug values for librt and the current value.
Example 2. Set the librt debug flag to a specific value.
this one actually sets the flag, so it's giving "i make the decisions here" energy π
mged>debuglib 1
Sets the librt debug flag to <DEBUG_ALLRAYS> (prints info about rays). πΈ
π AUTHOR π
BRL-CAD Team β legends, honestly. π
π BUG REPORTS π
found a bug? a problem? something acting sus? π Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β they wanna hear it, fr fr. π
that's the whole page bestie, go forth and debug slay β¨π
BRL-CAD β DEBUGLIB(nged) β that's the source/version and page tag right there, mwah π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms