1: 1 1 CALL DET interpreter_lib:main/2-0 mtrace> valid commands are: a, EOF: abort the current execution. b : set a breakpoint on the predicate or function :. c: continue to end of program, not printing the trace. C: continue to end of program, printing the trace. f: finish this call, not printing the trace. F: finish this call, printing the trace. g: go to event #N, not printing the trace. G: go to event #N, printing the trace. p: print the variables live at this point. r: continue until forward execution is resumed. [] [s]: skip N events, not printing the trace (default: N=1). [] S: skip N events, printing the trace (default: N=1). ?: list all the breakpoints. + : enable breakpoint #N. - : disable breakpoint #N. mtrace> mtrace> Pure Prolog Interpreter. Consulting file `interpreter_lib.m'... 45: 20 4 CALL DET interpreter_lib:consult_until_eof/4-0 mtrace> HeadVar__1 [] HeadVar__3 state('<>') mtrace> 47: 22 6 CALL DET parser:read_term/3-0 mtrace> HeadVar__2 state('<>') mtrace> 13300: 22 6 EXIT DET parser:read_term/3-0 mtrace> HeadVar__1 term(varset(0, empty, empty), functor(atom(":-"), [functor(atom("module"), [functor(atom("interpreter"), [], context("interpreter_lib.m", 22))], context("interpreter_lib.m", 22))], context("interpreter_lib.m", 22))) HeadVar__3 state('<>') mtrace> 0: + interpreter_lib:consult_until_eof mtrace> mtrace> ?-