table of contents
BEH_DEBUG(3) | BHL functions | BEH_DEBUG(3) |
ORIGIN¶
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.NAME¶
beh_debug - BEH structures displayer-debuggerSYNOPSYS¶
void beh_debug (pnt, type) void *pnt; char *type;
PARAMETERS¶
- pnt
- pointer of the structure to be displayed
- type
- name of the structure to be displayed. type can be
any of "befig", "beout", "bereg",
"bemsg", "bepor", "begen",
"berin", "bebus", "beaux",
"bebux", "biabl", "binode",
"beder", "bequad", "abl",
"integer", "long", "short",
"character", "ptype", "chain"
DESCRIPTION¶
When called, beh_debug() displaies the structure pointed by pnt then, prints the line:COMMAND >>
name_of_the_field : value_of_the_field
-> name_of_the_field :
-> name_of_the_field : available
- _exit
- to exit from the debugger
- _up
- to return to the previous structure
- _stop
- to put a stop mark on the current structure
- _top
- to return to the first structure (pointed by pnt)
- _back
- to return to the last structure marked with a stop mark
- _save
- to save the current structure in a static table. At most 10 structures may be saved. (example : "_save 1" saves the current structure in the entry number ! of the table)
- _jump
- to jump to a saved structure (example : "_jump 1" dislpaies the etructure save in the entry number 1 of the table).
- _display
- displaies a field under a given format. (example : "_display next integer" displaies the field named next as an integer).
EXAMPLE¶
#include <beh109.h> struct beout *beout_pnt; beh_debug (beout_pnt , "beout");
NOTES¶
beh_debug() uses an internal stack. The message "stack overflow" is printed if too many structures have been pushed on the stack.SEE ALSO¶
beh(3)BUG REPORT¶
This tool is under development at the ASIM department of the LIP6 laboratory.October 1, 1997 | ASIM/LIP6 |