DEBUGBU(nged)
Allows the user to set or check the debug flags used by libbu.
π DEBUGBU π
okay so real talk, this is a page from the BRL-CAD User Commands manual β it's DEBUGBU(nged) and it's literally the little knob-turning command for libbu's debug flags. bestie, let's get into it π
β¨ NAME β¨
debugbu β the command that lets you set or check the debug flags that libbu uses. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
debugbu [hex_code]
one optional argument, a hex_code. that's the whole synopsis, we love a minimal icon π
π DESCRIPTION π
so debugbu is how you set or peek at the debug flags libbu is running with, no cap.
when you give it no arguments at all, debugbu displays every single possible setting for the bu_debug flag plus the current value. like a full vibe check of the flag's whole life π
when you hand it a hex_code, that value becomes the new value for bu_debug. periodt, that's the assignment π₯
and side note for the girlies keeping track β there are sibling commands for the other BRL-CAD libraries: debuglib handles librt, and debugnmg handles the NMG portion of librt. same energy, different library π«Ά
β EXAMPLES β
okay so here's how it goes down in practice. example one is the no-argument version β it dumps all the possible settings plus the current value. example two passes a hex code and that hex code becomes the new bu_debug value. iconic behavior honestly π
π Example 1. Display a list of available bu_debug values and the current value.
mged>debugbu
Lists available bu_debug values and the current value. β literally just showing you the menu of what's possible and where you're at rn π
π¦ Example 2. Set a new value for bu_debug.
mged>debugbu 2
Sets bu_debug to <MEM_CHECK>. β yeah, hex 2 walks in and now it's MEM_CHECK szn πβ¨
π AUTHOR π
BRL-CAD Team β the whole squad. no solos here π
π BUG REPORTS π
found a bug? a problem? a little gremlin in the code? π§ don't sit on it β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. they literally want to hear from you, fr fr π
lowkey reminder: this page is from the BRL-CAD project docs β DEBUGBU(nged) in the BRL-CAD User Commands manual. take care of her, she's doing her best ππ
k bye bestie, go set some debug flags π«Άβ¨
π¦ 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