DEBUGLIB nged BRL-CAD BRL-CAD User Commands
debuglib Allows the user to set or check the debug flags used by librt.
`debuglib` hex_code

## DESCRIPTION

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

## EXAMPLES

The first example shows the use of the `debuglib` command (without an argument) to list the available debug values for librt and the current value. The second example shows the use of the `debuglib` command with a hex code, which sets the librt debug flag to that value.

List available debug values for librt and the current value.

mged> `debuglib`

Lists available debug values for librt and the current value.

Set the librt debug flag to a specific value.

mged> `debuglib 1`

Sets the librt debug flag to <DEBUG_ALLRAYS> (prints info about rays).

## AUTHOR

BRL-CAD Team

## BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org