BRL-CAD

librt debugging information More...

Collaboration diagram for Debugging:

Files

file  debug.h
 

Macros

#define RT_DEBUG_OFF   0
 No debugging. More...
 
#define RT_DEBUG_ALLRAYS   0x00000001 /* 1 Print calls to rt_shootray() */
 
#define RT_DEBUG_ALLHITS   0x00000002 /* 2 Print partitions passed to a_hit() */
 
#define RT_DEBUG_SHOOT   0x00000004 /* 3 Info about rt_shootray() processing */
 
#define RT_DEBUG_INSTANCE   0x00000008 /* 4 regionid instance revectoring */
 
#define RT_DEBUG_DB   0x00000010 /* 5 Database debugging */
 
#define RT_DEBUG_SOLIDS   0x00000020 /* 6 Print prep'ed solids */
 
#define RT_DEBUG_REGIONS   0x00000040 /* 7 Print regions & boolean trees */
 
#define RT_DEBUG_ARB8   0x00000080 /* 8 Print voluminous ARB8 details */
 
#define RT_DEBUG_SPLINE   0x00000100 /* 9 Splines */
 
#define RT_DEBUG_ANIM   0x00000200 /* 10 Animation */
 
#define RT_DEBUG_ANIM_FULL   0x00000400 /* 11 Animation matrices */
 
#define RT_DEBUG_VOL   0x00000800 /* 12 Volume & opaque Binary solid */
 
#define RT_DEBUG_ROOTS   0x00001000 /* 13 Print rootfinder details */
 
#define RT_DEBUG_PARTITION   0x00002000 /* 14 Info about bool_weave() */
 
#define RT_DEBUG_CUT   0x00004000 /* 15 Print space cutting statistics */
 
#define RT_DEBUG_BOXING   0x00008000 /* 16 Object/box checking details */
 
#define RT_DEBUG_UNUSED_0   0x00010000 /* 17 -->> BU_DEBUG_MEM_LOG */
 
#define RT_DEBUG_UNUSED_1   0x00020000 /* 18 Unassigned */
 
#define RT_DEBUG_FDIFF   0x00040000 /* 19 bool/fdiff debugging */
 
#define RT_DEBUG_PARALLEL   0x00080000 /* 20 -->> BU_DEBUG_PARALLEL */
 
#define RT_DEBUG_CUTDETAIL   0x00100000 /* 21 Print space cutting details */
 
#define RT_DEBUG_TREEWALK   0x00200000 /* 22 Database tree traversal */
 
#define RT_DEBUG_TESTING   0x00400000 /* 23 One-shot debugging flag */
 
#define RT_DEBUG_ADVANCE   0x00800000 /* 24 Cell-to-cell space partitioning */
 
#define RT_DEBUG_MATH   0x01000000 /* 25 nmg math routines */
 
#define RT_DEBUG_EBM   0x02000000 /* 26 Extruded bit-map solids */
 
#define RT_DEBUG_HF   0x04000000 /* 27 Height Field solids */
 
#define RT_DEBUG_MESHING   0x08000000 /* 28 Print meshing/triangulation details */
 
#define RT_DEBUG_UNUSED_3   0x10000000 /* 29 Unassigned */
 
#define RT_DEBUG_UNUSED_4   0x20000000 /* 30 Unassigned */
 
#define RT_DEBUG_PL_SOLIDS   0x40000000 /* 31 plot all solids */
 
#define RT_DEBUG_PL_BOX   0x80000000 /* 32 Plot(3) bounding boxes and cuts */
 
#define RT_DEBUG_FORMAT
 
#define RT_G_DEBUG   rt_debug
 

Variables

unsigned int rt_debug
 

Detailed Description

librt debugging information

Macro Definition Documentation

◆ RT_DEBUG_OFF

#define RT_DEBUG_OFF   0

No debugging.

Each type of debugging support is independently controlled, by a separate bit in the word RT_G_DEBUG

For programs based on the "RT" program, these flags follow the "-x" (lower case x) option.

Definition at line 43 of file debug.h.

◆ RT_DEBUG_ALLRAYS

#define RT_DEBUG_ALLRAYS   0x00000001 /* 1 Print calls to rt_shootray() */

Definition at line 48 of file debug.h.

◆ RT_DEBUG_ALLHITS

#define RT_DEBUG_ALLHITS   0x00000002 /* 2 Print partitions passed to a_hit() */

Definition at line 49 of file debug.h.

◆ RT_DEBUG_SHOOT

#define RT_DEBUG_SHOOT   0x00000004 /* 3 Info about rt_shootray() processing */

Definition at line 50 of file debug.h.

◆ RT_DEBUG_INSTANCE

#define RT_DEBUG_INSTANCE   0x00000008 /* 4 regionid instance revectoring */

Definition at line 51 of file debug.h.

◆ RT_DEBUG_DB

#define RT_DEBUG_DB   0x00000010 /* 5 Database debugging */

Definition at line 54 of file debug.h.

◆ RT_DEBUG_SOLIDS

#define RT_DEBUG_SOLIDS   0x00000020 /* 6 Print prep'ed solids */

Definition at line 55 of file debug.h.

◆ RT_DEBUG_REGIONS

#define RT_DEBUG_REGIONS   0x00000040 /* 7 Print regions & boolean trees */

Definition at line 56 of file debug.h.

◆ RT_DEBUG_ARB8

#define RT_DEBUG_ARB8   0x00000080 /* 8 Print voluminous ARB8 details */

Definition at line 57 of file debug.h.

◆ RT_DEBUG_SPLINE

#define RT_DEBUG_SPLINE   0x00000100 /* 9 Splines */

Definition at line 59 of file debug.h.

◆ RT_DEBUG_ANIM

#define RT_DEBUG_ANIM   0x00000200 /* 10 Animation */

Definition at line 60 of file debug.h.

◆ RT_DEBUG_ANIM_FULL

#define RT_DEBUG_ANIM_FULL   0x00000400 /* 11 Animation matrices */

Definition at line 61 of file debug.h.

◆ RT_DEBUG_VOL

#define RT_DEBUG_VOL   0x00000800 /* 12 Volume & opaque Binary solid */

Definition at line 62 of file debug.h.

◆ RT_DEBUG_ROOTS

#define RT_DEBUG_ROOTS   0x00001000 /* 13 Print rootfinder details */

Definition at line 65 of file debug.h.

◆ RT_DEBUG_PARTITION

#define RT_DEBUG_PARTITION   0x00002000 /* 14 Info about bool_weave() */

Definition at line 66 of file debug.h.

◆ RT_DEBUG_CUT

#define RT_DEBUG_CUT   0x00004000 /* 15 Print space cutting statistics */

Definition at line 67 of file debug.h.

◆ RT_DEBUG_BOXING

#define RT_DEBUG_BOXING   0x00008000 /* 16 Object/box checking details */

Definition at line 68 of file debug.h.

◆ RT_DEBUG_UNUSED_0

#define RT_DEBUG_UNUSED_0   0x00010000 /* 17 -->> BU_DEBUG_MEM_LOG */

Definition at line 70 of file debug.h.

◆ RT_DEBUG_UNUSED_1

#define RT_DEBUG_UNUSED_1   0x00020000 /* 18 Unassigned */

Definition at line 71 of file debug.h.

◆ RT_DEBUG_FDIFF

#define RT_DEBUG_FDIFF   0x00040000 /* 19 bool/fdiff debugging */

Definition at line 72 of file debug.h.

◆ RT_DEBUG_PARALLEL

#define RT_DEBUG_PARALLEL   0x00080000 /* 20 -->> BU_DEBUG_PARALLEL */

Definition at line 73 of file debug.h.

◆ RT_DEBUG_CUTDETAIL

#define RT_DEBUG_CUTDETAIL   0x00100000 /* 21 Print space cutting details */

Definition at line 75 of file debug.h.

◆ RT_DEBUG_TREEWALK

#define RT_DEBUG_TREEWALK   0x00200000 /* 22 Database tree traversal */

Definition at line 76 of file debug.h.

◆ RT_DEBUG_TESTING

#define RT_DEBUG_TESTING   0x00400000 /* 23 One-shot debugging flag */

Definition at line 77 of file debug.h.

◆ RT_DEBUG_ADVANCE

#define RT_DEBUG_ADVANCE   0x00800000 /* 24 Cell-to-cell space partitioning */

Definition at line 78 of file debug.h.

◆ RT_DEBUG_MATH

#define RT_DEBUG_MATH   0x01000000 /* 25 nmg math routines */

Definition at line 80 of file debug.h.

◆ RT_DEBUG_EBM

#define RT_DEBUG_EBM   0x02000000 /* 26 Extruded bit-map solids */

Definition at line 83 of file debug.h.

◆ RT_DEBUG_HF

#define RT_DEBUG_HF   0x04000000 /* 27 Height Field solids */

Definition at line 84 of file debug.h.

◆ RT_DEBUG_MESHING

#define RT_DEBUG_MESHING   0x08000000 /* 28 Print meshing/triangulation details */

Definition at line 86 of file debug.h.

◆ RT_DEBUG_UNUSED_3

#define RT_DEBUG_UNUSED_3   0x10000000 /* 29 Unassigned */

Definition at line 87 of file debug.h.

◆ RT_DEBUG_UNUSED_4

#define RT_DEBUG_UNUSED_4   0x20000000 /* 30 Unassigned */

Definition at line 88 of file debug.h.

◆ RT_DEBUG_PL_SOLIDS

#define RT_DEBUG_PL_SOLIDS   0x40000000 /* 31 plot all solids */

Definition at line 91 of file debug.h.

◆ RT_DEBUG_PL_BOX

#define RT_DEBUG_PL_BOX   0x80000000 /* 32 Plot(3) bounding boxes and cuts */

Definition at line 92 of file debug.h.

◆ RT_DEBUG_FORMAT

#define RT_DEBUG_FORMAT

Format string for bu_printb()

Definition at line 95 of file debug.h.

◆ RT_G_DEBUG

#define RT_G_DEBUG   rt_debug

Definition at line 143 of file debug.h.

Variable Documentation

◆ rt_debug

unsigned int rt_debug
extern

controls the librt debug level