Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

Debug

Interrupts program execution and enters programmer mode.

Synopsis

Debug

Arguments

None.

Description

The Debug statement interrupts execution of the current routine and returns control to programmer mode. Once in programmer mode, you can perform debugging operations. A Debug statement included in code sets a breakpoint, which interrupts routine execution and returns the process to programmer mode.

The Debug statement is functionally equivalent to the ObjectScript argumentless BREAK command.