[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

6.2 Debugging Commands

The debugger uses its own unique command language, where M commands are unavailable. Commands are as follows:

exit, quit

Exits the debugger and returns to direct mode or normal program execution.

e glvn, examine glvn

Prints the value of glvn to the terminal.

t, trace

Toggles trace mode on and off. When trace mode is on, FreeM will display information about each DO or GOTO command encountered, including the routine which invoked the branch, which type of branch was invoked, and the target of the branch.

s, step

Single-steps through FreeM code command-by-command.

n, next

Single-steps through FreeM code line-by-line.

c, cont, continue

Resumes normal program execution, disabling single-step mode.

bt, backtrace

Produces a stack trace.

h, halt

Halts the process being debugged and returns control to the operating system.

w [[+|-|?]<glvn>], watch [[+|-|?]<glvn>]

With no arguments, toggles watchpoints on and off. With +, adds <glvn> to the watchlist. With -, removes <glvn> from the watchlist. With ?, queries the watch status of <glvn>.


This document was generated on May 5, 2025 using texi2html 5.0.