ZBreak

Examples of ZBreak

The ZBREAK command sets or clears routine breakpoints during debugging.

The format of the ZBREAK command is:

        ZB[REAK][:tvexpr] [-]entryref[:[expr][:intexpr]][,...]
      

When GT.M encounters the entryref, GT.M suspends execution of the routine code and XECUTEs the breakpoint action before executing any of the commands on the line. For more information on entryrefs, refer to the "General Language Features of M" chapter in this manual.

When the optional integer expression is used, GT.M activates the breakpoint on the intexpr-th time the process encounters the breakpoint during routine execution. Once GT.M activates the breakpoint, that breakpoint remains active for the process until explicitly replaced or removed, or until the process terminates.

For more information, refer to "Operating and Debugging in Direct Mode" chapter in this manual.