Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (login required).

ZBreak Actions

Once execution stops, you'll be at the Terminal prompt, where you can Write the values of any variables. You continue execution after the breakpoint or watchpoint by using Goto.

The action of a ZBreak command controls what happens when you continue execution. It can be one of the following:

ZBreak Actions
Action Meaning
L Line-by-line (skip over). Execution will stop before every line of the routine. If a line calls another routine or procedure, the called code will execute without interruption.
L+ Line-by-line (jump into). Execution will stop before every line of the routine. If a line calls another routine or procedure, execution will also stop before every line of the called code.
S Statement-by-statement (skip over). Execution will stop before every statement in each line of the routine. If a statement calls another routine or procedure, the called code will execute without interruption.
S+ Statement-by-statement (jump into). Execution will stop before every statement in each line of the routine. If a statement calls another routine or procedure, execution will also stop before every statement of the called code.
N No action. You'd use this together with the execute code option to cause code to run when this breakpoint or watchpoint is triggered, without actually stopping the execution.

You can also use these actions, as well as the “C” action (for cancel), to alter the action as you debug. You use them at the Terminal prompt, as arguments of the Break command.

FeedbackOpens in a new window