1MLODEBUG(3)             MBK PHYSICAL UTILITY FUNCTIONS             MLODEBUG(3)
2
3
4

NAME

6       mlodebug - logical data structure contents debug function
7

SYNOPSIS

9       #include "mlo.h"
10       void mlodebug(headpointer, structurename)
11       void ∗headpointer;
12       char ∗structurename;
13

PARAMETER

15       headpointer         Pointer to a structure to be displayed
16
17       structurename       Name of the structure to be explored
18

DESCRIPTION

20       mlodebug  allows  a user interactive visualisation of the internal con‐
21       tents of the structural view of mbk.
22       Through the use of a small, but convenient, textual user  interface,  a
23       step  by  step exploration of each fields of the data structure is made
24       available.  However, if the structure is big, it may be painful to use.
25       First of all, the contents of the expected struture is displayed,  with
26       its  fields  named as they appear in the appropriate header file.  Then
27       the user is prompted by a `>>' for an input.
28       The input may be either a field name, or a  predefined  symbol.   Field
29       names are to be typed the way they are displayed.
30       Predefined symbols are:
31
32       _exit               that quit the current debugging session.
33
34       _up                 that comes back to the previous structure.
35
36       _top                returns to the root of the function invocation.
37
38       _stop               puts  kind  of a tag at the current position in the
39                           structure.  It will be available later on to return
40                           to this position.
41
42       _back               returns to the previous _stop position.
43
44       The debugger functions are easy to understand, so just try it!
45

EXAMPLE

47       #include "mlo.h"
48       void scan_n1_y()
49       {
50          getlofig("n1_y", 'A');
51          mlodebug(HEAD_LOFIG, "lofig");
52       }
53

SEE ALSO

55       mbk(1),  lofig(3),  locon(3),  loins(3),  losig(3), lotrs(3), locap(3),
56       lores(3), loself(3), mphdebug(3).
57
58
59
60
61
62
63ASIM/LIP6                       October 1, 1997                    MLODEBUG(3)
Impressum