|
Many software environments provide interactive run-time debuggers that allow you to stop execution of the program, examine variables, call functions, etc. (for example, in the UNIX environment a common debugger is called
dbx).
|
|
|
Several functions have been defined in the
ACIS software to aid debugging with such a debugger. These functions are not linked into the system by default, because they are not called by any
ACIS functions. To access these functions, you must force the linkage of the file
kern/kernel/sg_husk/debug/sg_debug.cxx. The functions provided in this file include:
|
|
|
dbuvec
|
Debug a
SPAunit_vector
|
|
|
dbvec
|
Debug a
SPAvector
|
|
|
dbpos
|
Debug a
SPAposition
|
|
|
dbtransf
|
Debug a
SPAtransf
|
|
|
dbcurve
|
Debug a
curve
|
|
|
dbpcurve
|
Debug a
pcurve
|
|
|
dbsurface
|
Debug a
surface
|
|
|
dbbs2_curve
|
Debug a
bs2_curve
|
|
|
dbbs3_curve
|
Debug a
bs3_curve
|
|
|
dbbs3_surface
|
Debug a
bs3_surface
|
|
|
dbedge
|
Print info about an
EDGE
|
|
|
dbcoedge
|
Print info about a
COEDGE
|
|
|
dbbs2c
|
Print info about a
bs2_curve
|
|
|
dbbs3c
|
Print info about a
bs3_curve
|
|
|
bs2_curve_step_eval
|
Evaluate a
bs2_curve at increments
|
|
|
bs3_curve_step_eval
|
Evaluate a
bs3_curve at increments
|
|
|
dblaw
|
Debug a law
|
|
|
dbent
|
Debug an
ENTITY
|
|
|
dbentall
|
Debug this
ENTITY and its siblings and children
|
|
|
dbentallsz
|
Get the size for this
ENTITY and its siblings and children
|
|
|
dbentkids
|
Debug this
ENTITY and its children
|
|
|
dbentkidsz
|
Get the size for this
ENTITY and its children
|
|
|
dbsave
|
Save an
ENTITY to
dbfile
|
|
|
dblist
|
Debug an
ENTITY_LIST
|
|
|
dblistent
|
Debug an
ENTITY_LIST
|
|
|
dbdbg
|
Turn on debugging module
|
|
|
dbopti
|
Pass integer to option
|
|
|
dboptd
|
Pass double to option
|
|
|
dboptc
|
Pass string to option
|
|
|
The following output streams are used by these functions:
|
|
|
dbfile
|
Debug output stream stream
|
|
|
dbout
|
stdout output stream
|
|
|
dberr
|
stderr output stream
|