varsheld_vars
print [-fpv] name[termpath]print [-fpv] num[termpath]
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for printing.
print [-fpv] *
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for printing.
print [-fpv]print [-fpv] goal
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for printing.
print [-fpv] exception
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for printing.
print [-fpv] action num
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for printing.
browse [-fpvx] name[termpath]browse [-fpvx] num[termpath]
The interactive term browser allows you
to selectively examine particular subterms.
The depth and size of printed terms may be controlled.
The displayed terms may also be clipped to fit within a single screen.
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for browsing.
The ‘-x’ or ‘--xml’ option tells mdb to dump the value of the
variable to an XML file and then invoke an XML browser on the file.
The XML filename as well as the command to invoke the XML browser can
be set using the ‘set’ command. See the documentation for ‘set’
for more details.
For further documentation on the interactive term browser,
invoke the ‘browse’ command from within ‘mdb’ and then
type ‘help’ at the ‘browser>’ prompt.
browse [-fpvx]browse [-fpvx] goal
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for browsing.
The ‘-x’ or ‘--xml’ option tells mdb to dump the goal to an XML file
and then invoke an XML browser on the file. The XML filename as well as the
command to invoke the XML browser can be set using the ‘set’ command. See
the documentation for ‘set’ for more details.
browse [-fpvx] exception
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for browsing.
The ‘-x’ or ‘--xml’ option tells mdb to dump the exception to an
XML file and then invoke an XML browser on the file. The XML filename as well
as the command to invoke the XML browser can be set using the ‘set’
command. See the documentation for ‘set’ for more details.
browse [-fpvx] action num
The options ‘-f’ or ‘--flat’, ‘-p’ or ‘--pretty’,
and ‘-v’ or ‘--verbose’ specify the format to use for browsing.
The ‘-x’ or ‘--xml’ option tells mdb to dump the io action
representation to an XML file and then invoke an XML browser on the file. The
XML filename as well as the command to invoke the XML browser can be set using
the ‘set’ command. See the documentation for ‘set’ for more details.
stack [-a] [-d] [-ccliquelines] [-fnumframes] [numlines]
The option ‘-d’ or ‘--detailed’
specifies that for each ancestor call,
the call's event number, sequence number and depth should also be printed
if the call is to a procedure that is being execution traced.
If the ‘-f’ option, if present, specifies that
only the topmost numframes stack frames should be printed.
The optional number numlines, if present,
specifies that only the topmost numlines lines should be printed.
The default value is 100;
the special value 0 asks for all the lines to be printed.
By default, this command will look for cliques of mutually recursive ancestors.
It will identify them as such in the output,
and it will print at most 10 lines from any clique.
The ‘-c’ option can be used to specify
the maximum number of lines to print for a clique,
with the special value 0 asking for all of them to be printed.
The option ‘-a’ asks for all lines to be printed
without cliques being detected or marked.
This command will report an error if there is no stack trace
information available about any ancestor.
up [-d] [num]
If num is not specified, the default value is one.
This command will report an error
if the current environment doesn't have the required number of ancestors,
or if there is no execution trace information about the requested ancestor,
or if there is no stack trace information about any of the ancestors
between the current environment and the requested ancestor.
The option ‘-d’ or ‘--detailed’
specifies that for each ancestor call,
the call's event number, sequence number and depth should also be printed
if the call is to a procedure that is being execution traced.
down [-d] [num]
If num is not specified, the default value is one.
This command will report an error
if there is no execution trace information about the requested descendant.
The option ‘-d’ or ‘--detailed’
specifies that for each ancestor call,
the call's event number, sequence number and depth should also be printed
if the call is to a procedure that is being execution traced.
level [-d]level [-d] numlevel [-d] (‘clentry’|‘clique’)level [-d] ‘clparent’
This command will report an error
if the current environment doesn't have the required number of ancestors,
or if there is no execution trace information about the requested ancestor,
or if there is no stack trace information about any of the ancestors
between the current environment and the requested ancestor.
The option ‘-d’ or ‘--detailed’
specifies that for each ancestor call,
the call's event number, sequence number and depth should also be printed
if the call is to a procedure that is being execution traced.
current
view [-vf2] [-w window-cmd] [-s server-cmd] [-n server-name] [-t timeout]view -c [-v] [-s server-cmd] [-n server-name]
The debugger only updates one window at a time.
If you try to open a new source window when there is already one open,
this command aborts with an error message.
The variant with ‘-c’ (or ‘--close’)
does not open a new window but instead
attempts to close a currently open source window.
The attempt may fail if, for example,
the user has modified the source file without saving.
The option ‘-v’ (or ‘--verbose’)
prints the underlying system calls before running them,
and prints any output the calls produced.
This is useful to find out what is wrong if the server does not start.
The option ‘-f’ (or ‘--force’)
stops the command from aborting if there is already a window open.
Instead it attempts to close that window first.
The option ‘-2’ (or ‘--split-screen’)
starts the vim server with two windows,
which allows both the callee as well as the caller
to be displayed at interface events.
The lower window shows what would normally be seen
if the split-screen option was not used,
which at interface events is the caller.
At these events,
the upper window shows the callee definition.
At internal events,
the lower window shows the associated source,
and the view in the upper window
(which is not interesting at these events)
remains unchanged.
The option ‘-w’ (or ‘--window-command’) specifies
the command to open a new window.
The default is ‘xterm -e’.
The option ‘-s’ (or ‘--server-command’) specifies
the command to start the server.
The default is ‘vim’.
The option ‘-n’ (or ‘--server-name’) specifies
the name of an existing server.
Instead of starting up a new server,
mdb will attempt to connect to the existing one.
The option ‘-t’ (or ‘--timeout’) specifies
the maximum number of seconds to wait for the server to start.
hold name[termpath] [heldname]
diff [-s start] [-m max] name1[termpath1] name2[termpath2]
The option ‘-s’ (or ‘--start’), if present,
specifies how many of the initial differences to skip.
The option ‘-m’ (or ‘--max’), if present,
specifies how many differences to print.
dump [-qx] goal filename
dump [-qx] exception filename
dump [-qx] name filenamedump [-qx] num filename
open term
grep pattern term
list [num]