## Name

debugbu — Allows the user to set or check the debug flags used by libbu.

## Synopsis

`debugbu` [`hex_code`]

## DESCRIPTION

Allows the user to set or check the debug flags used by libbu. With no arguments, the debugbu command displays all the possible settings for the bu_debug flag and the current value. When a hex_code is supplied, that value is used as the new value for bu_debug. Similar debug commands for other BRL-CAD libraries are debuglib for librt and debugnmg for the NMG portion of librt. Other debugging commands include debugmem and debugdir.

## EXAMPLES

The first example shows the use of the debugbu command (without an argument) to display all possible settings for the bu_debug flag and the current value. The second example shows the use of the debugbu command with a hex code, which is used as the new value for bu_debug.

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.

Example 2. Set a new value for bu_debug.

`mged>``debugbu 2`

Sets bu_debug to <MEM_CHECK>.

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.