'\" t
.\"     Title: DEBUGBU
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "DEBUGBU" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
debugbu \- Allows the user to set or check the debug flags used by \fIlibbu\fR\&.
.SH "SYNOPSIS"
.HP \w'\fBdebugbu\fR\ 'u
\fBdebugbu\fR [\fIhex_code\fR]
.SH "DESCRIPTION"
.PP
Allows the user to set or check the debug flags used by
\fIlibbu\fR\&. With no arguments, the
\fBdebugbu\fR
command displays all the possible settings for the
\fIbu_debug\fR
flag and the current value\&. When a
\fIhex_code\fR
is supplied, that value is used as the new value for
\fIbu_debug\fR\&. Similar debug commands for other
\fIBRL\-CAD\fR
libraries are
\fBdebuglib\fR
for
\fIlibrt\fR
and
\fBdebugnmg\fR
for the NMG portion of
\fIlibrt\fR\&.
.SH "EXAMPLES"
.PP
The first example shows the use of the
\fBdebugbu\fR
command (without an argument) to display all possible settings for the
\fIbu_debug\fR
flag and the current value\&. The second example shows the use of the
\fBdebugbu\fR
command with a hex code, which is used as the new value for
\fIbu_debug\fR\&.
.PP
\fBExample\ \&1.\ \&Display a list of available \fIbu_debug\fR values and the current value.\fR
.PP

mged>\fBdebugbu\fR
.PP
Lists available
\fIbu_debug\fR
values and the current value\&.
.PP
\fBExample\ \&2.\ \&Set a new value for \fIbu_debug\fR.\fR
.PP

mged>\fBdebugbu 2\fR
.PP
Sets
\fIbu_debug\fR
to <MEM_CHECK>\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
