DEBUGLIB(nged)

NAME

debuglib - Allows the user to set or check the debug flags used by librt.

SYNOPSIS

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.

Example 1. List 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.

mged> debuglib 1

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

AUTHOR

BRL-CAD Team

This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

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