Debugging
[libbu (utility functions)]

Collaboration diagram for Debugging:


Defines

#define BU_DEBUG_OFF   0
#define BU_DEBUG_COREDUMP   0x00000001
#define BU_DEBUG_MEM_CHECK   0x00000002
#define BU_DEBUG_MEM_LOG   0x00000004
#define BU_DEBUG_DB   0x00000008
#define BU_DEBUG_PARALLEL   0x00000010
#define BU_DEBUG_MEM_QCHECK   0x00000020
#define BU_DEBUG_MATH   0x00000100
#define BU_DEBUG_PTBL   0x00000200
#define BU_DEBUG_AVS   0x00000400
#define BU_DEBUG_MAPPED_FILE   0x00000800
#define BU_DEBUG_TABDATA   0x00010000
#define BU_DEBUG_FORMAT   "\020\\025TABDATA\\015?\\014MAPPED_FILE\013AVS\012PTBL\011MATH\010?\7?\6MEM_QCHECK\5PARALLEL\\4?\3MEM_LOG\2MEM_CHECK\1COREDUMP"

Variables

int bu_debug

Define Documentation

#define BU_DEBUG_OFF   0
 

Definition at line 1256 of file bu.h.

#define BU_DEBUG_COREDUMP   0x00000001
 

Definition at line 1258 of file bu.h.

Referenced by bn_mat_ck(), bu_bomb(), main(), and rt_bomb().

#define BU_DEBUG_MEM_CHECK   0x00000002
 

Definition at line 1260 of file bu.h.

Referenced by Add_bot_face(), curve_to_vlist(), dgo_E_cmd(), do_tri(), main(), rt_extrude_xform(), and shoot_and_plot().

#define BU_DEBUG_MEM_LOG   0x00000004
 

Definition at line 1261 of file bu.h.

#define BU_DEBUG_DB   0x00000008
 

Definition at line 1262 of file bu.h.

Referenced by bu_open_mapped_file().

#define BU_DEBUG_PARALLEL   0x00000010
 

Definition at line 1264 of file bu.h.

Referenced by bu_avail_cpus(), and bu_parallel().

#define BU_DEBUG_MEM_QCHECK   0x00000020
 

Definition at line 1265 of file bu.h.

#define BU_DEBUG_MATH   0x00000100
 

Definition at line 1266 of file bu.h.

Referenced by bn_2line3_colinear(), bn_between(), bn_dist_line3_pt3(), bn_dist_pt2_along_line2(), bn_dist_pt2_lseg2(), bn_dist_pt3_lseg3(), bn_distsq_line3_pt3(), bn_isect_line2_line2(), bn_isect_line2_lseg2(), bn_isect_line_lseg(), bn_isect_lseg2_lseg2(), bn_isect_lseg3_lseg3(), bn_isect_planes(), bn_isect_pt2_lseg2(), and bn_mat_ck().

#define BU_DEBUG_PTBL   0x00000200
 

Definition at line 1267 of file bu.h.

Referenced by bu_ptbl_cat(), bu_ptbl_cat_uniq(), bu_ptbl_free(), bu_ptbl_init(), bu_ptbl_ins(), bu_ptbl_ins_unique(), bu_ptbl_reset(), bu_ptbl_rm(), rt_htbl_free(), rt_htbl_init(), and rt_htbl_reset().

#define BU_DEBUG_AVS   0x00000400
 

Definition at line 1268 of file bu.h.

Referenced by bu_avs_init(), bu_avs_new(), db5_export_attributes(), and db5_import_attributes().

#define BU_DEBUG_MAPPED_FILE   0x00000800
 

Definition at line 1269 of file bu.h.

Referenced by bu_close_mapped_file(), bu_free_mapped_files(), and bu_open_mapped_file().

#define BU_DEBUG_TABDATA   0x00010000
 

Definition at line 1271 of file bu.h.

Referenced by bn_ck_table(), bn_print_table_and_tabdata(), bn_read_table_and_tabdata(), bn_tabdata_add(), bn_tabdata_area1(), bn_tabdata_area2(), bn_tabdata_binary_read(), bn_tabdata_blend2(), bn_tabdata_blend3(), bn_tabdata_constval(), bn_tabdata_copy(), bn_tabdata_dup(), bn_tabdata_free(), bn_tabdata_get_constval(), bn_tabdata_incr_mul2_scale(), bn_tabdata_incr_mul3_scale(), bn_tabdata_join1(), bn_tabdata_join2(), bn_tabdata_malloc_array(), bn_tabdata_mk_linear_filter(), bn_tabdata_mul(), bn_tabdata_mul3(), bn_tabdata_mul_area1(), bn_tabdata_mul_area2(), bn_tabdata_resample_avg(), bn_tabdata_resample_max(), bn_tabdata_scale(), bn_tabdata_to_tcl(), bn_table_find_x(), bn_table_free(), bn_table_lin_interp(), bn_table_make_uniform(), bn_table_merge2(), bn_table_read(), bn_table_scale(), bn_table_write(), rt_spect_black_body(), rt_spect_black_body_fast(), and rt_spect_black_body_points().

#define BU_DEBUG_FORMAT   "\020\\025TABDATA\\015?\\014MAPPED_FILE\013AVS\012PTBL\011MATH\010?\7?\6MEM_QCHECK\5PARALLEL\\4?\3MEM_LOG\2MEM_CHECK\1COREDUMP"
 

Definition at line 1274 of file bu.h.

Referenced by bu_tcl_setup().


Variable Documentation

int bu_debug
 

this variable controls the libbu debug level

Definition at line 74 of file malloc.c.

Referenced by Add_bot_face(), bn_2line3_colinear(), bn_between(), bn_ck_table(), bn_dist_line3_pt3(), bn_dist_pt2_along_line2(), bn_dist_pt2_lseg2(), bn_dist_pt3_lseg3(), bn_distsq_line3_pt3(), bn_isect_line2_line2(), bn_isect_line2_lseg2(), bn_isect_line_lseg(), bn_isect_lseg2_lseg2(), bn_isect_lseg3_lseg3(), bn_isect_planes(), bn_isect_pt2_lseg2(), bn_mat_ck(), bn_print_table_and_tabdata(), bn_read_table_and_tabdata(), bn_tabdata_add(), bn_tabdata_area1(), bn_tabdata_area2(), bn_tabdata_binary_read(), bn_tabdata_blend2(), bn_tabdata_blend3(), bn_tabdata_constval(), bn_tabdata_copy(), bn_tabdata_dup(), bn_tabdata_free(), bn_tabdata_freq_shift(), bn_tabdata_get_constval(), bn_tabdata_incr_mul2_scale(), bn_tabdata_incr_mul3_scale(), bn_tabdata_join1(), bn_tabdata_join2(), bn_tabdata_malloc_array(), bn_tabdata_mk_linear_filter(), bn_tabdata_mul(), bn_tabdata_mul3(), bn_tabdata_mul_area1(), bn_tabdata_mul_area2(), bn_tabdata_resample_avg(), bn_tabdata_resample_max(), bn_tabdata_scale(), bn_tabdata_to_tcl(), bn_table_delete_sample_pts(), bn_table_find_x(), bn_table_free(), bn_table_lin_interp(), bn_table_make_uniform(), bn_table_merge2(), bn_table_read(), bn_table_scale(), bn_table_write(), bu_avail_cpus(), bu_avs_init(), bu_avs_new(), bu_bomb(), bu_brlcad_data(), bu_brlcad_root(), bu_ck_malloc_ptr(), bu_close_mapped_file(), bu_file_exists(), bu_free(), bu_free_mapped_files(), bu_nice_set(), bu_open_mapped_file(), bu_parallel(), bu_prmem(), bu_ptbl_cat(), bu_ptbl_cat_uniq(), bu_ptbl_free(), bu_ptbl_init(), bu_ptbl_ins(), bu_ptbl_ins_unique(), bu_ptbl_reset(), bu_ptbl_rm(), bu_realloc(), bu_strdupm(), bu_tcl_setup(), curve_to_vlist(), db5_export_attributes(), db5_import_attributes(), dgo_E_cmd(), do_tri(), main(), rt_bomb(), rt_copy_sketch(), rt_extrude_xform(), rt_htbl_free(), rt_htbl_init(), rt_htbl_reset(), rt_sketch_export(), rt_sketch_export5(), rt_sketch_ifree(), rt_sketch_import(), rt_sketch_import5(), rt_spect_black_body(), rt_spect_black_body_fast(), rt_spect_black_body_points(), and shoot_and_plot().


Generated on Mon Sep 18 01:25:19 2006 for BRL-CAD by  doxygen 1.4.6