Using Caché ObjectScript - InterSystems Documentation
Using Caché ObjectScript - InterSystems Documentation
Using Caché ObjectScript - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Debugging with the <strong>Caché</strong> Debugger<br />
%SYS>DO ^rou<br />
tag SET x=1<br />
^<br />
tag^rou<br />
%SYS 2d0><br />
In the following example, a breakpoint at line tag^rou does not suspend execution, because of the "N" action. However, if<br />
xDO ^test<br />
FOR i=1:1:6 SET a=a+1<br />
^<br />
<br />
test+3^test<br />
%SYS 3f0>WRITE a<br />
5<br />
14.1.3 Disabling Breakpoints and Watchpoints<br />
You can disable either:<br />
• Specific breakpoints and watchpoints<br />
• All breakpoints or watchpoints<br />
14.1.3.1 Disabling Specific Breakpoints and Watchpoints<br />
You can disable a breakpoint or watchpoint by preceding the location with a minus sign. The following command disables<br />
a breakpoint previously specified for location tag^rou:<br />
ZBREAK -tag^rou<br />
A disabled breakpoint is “turned off”, but <strong>Caché</strong> remembers its definition. You can enable the disabled breakpoint by<br />
preceding the location with a plus sign. The following command enables the previously disabled breakpoint:<br />
ZBREAK +tag^rou<br />
14.1.3.2 Disabling All Breakpoints and Watchpoints<br />
You can disable all breakpoints or watchpoints by using the plus or minus signs without a location:<br />
ZBREAK -<br />
ZBREAK +<br />
Disable all defined breakpoints and watchpoints.<br />
Enable all defined breakpoints and watchpoint.<br />
<strong>Using</strong> <strong>Caché</strong> <strong>ObjectScript</strong> 151