7 Using MLWorks in TTY Mode

7.3 Debugging in the TTY interface

The TTY interface provides its own interface to the debugger. The commands available are:

<
Go to the earliest frame in the stack

>
Go to the latest frame in the stack

i
Next frame into the stack or next later frame (callee)

i <n>
Next n frames into the stack

o
Next frame out of the stack or next earlier frame (caller)

o <n>
Next n frames out of the stack

b
Do a backtrace of the stack

f
Show full frame details

e
Edit definition

h {<name>}
Hide the given types of frame or list hidden frame types if none given

r {<name>}
Reveal the given types of frame or list the revealed frame types if none given

p
Print values of local and closure variables

c
Continue interrupted computation

s
Step through computation

s <n>
Step through computation to nth function call

n
Step over the current function to the start of the next one

trace <name>
Set trace on function entry at <name>

breakpoint <name>

Set breakpoint on function entry at <name>

untrace <name>

Unset trace on function entry at <name>

unbreakpoint <name>

Unset breakpoint on function entry at <name>

breakpoints
Display the list of breakpoints

ignore <name> n

Ignore the next n hits on the breakpoint on function <name>

help
Display this help info

?
Display this help info

c
Continue interrupted code

q
Return to top level


MLWorks User Guide (UNIX version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker