Caché Basic Reference
Debug
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

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.