31.12.2013 Views

TOPS-20 PASCAL Language Manual - Bitsavers

TOPS-20 PASCAL Language Manual - Bitsavers

TOPS-20 PASCAL Language Manual - Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PASDDT: THE <strong>PASCAL</strong>-<strong>20</strong> DEBUGGER<br />

As shown in the previous example, PASDDT automatic~lly displays three<br />

lines of source code at a breakpoint. See the SET command, Section<br />

9.4.9, for details of controlling the display of source code when a<br />

breakpoint is reached.<br />

9.4.3 CLEAR<br />

CLEAR turns off breakpoints and tracepoints set with the BREAK and<br />

TRACE commands. The format is:<br />

whe re::<br />

CLEAR (AT) jline number } [(NAME) bre~k identifier]<br />

\break identifier<br />

line number is the line number in the source code where<br />

the breakpoint or tracepoint is set.<br />

break identifier is the name of the breakpoint or tracepoint<br />

associated with the line number.<br />

You can specify either both the line number and associated break<br />

identifier, just the line number, or just the bre~k identifier.<br />

The CLEAR command does not delete the breakpoint or tracepoint; the<br />

CLEAR command merely turns it off. Also, although you have cleared a<br />

breakpoint or tracepoint, it is still counted in the total <strong>20</strong> allowed.<br />

To delete a breakpoint or tracepoint, use the REMOVE command, Section<br />

9.4.8. If you want to check the status of breakpoints and<br />

tracepoints, use the DISPLAY command, Section 9.4.4.<br />

Note the following example:<br />

PASDDT:::bT'€:.'ak 11 onp<br />

PASDDT)break 12 two<br />

F' A S [t D T :::.0.1 :i. S p 1. a'.:l b rea k<br />

BREAK POINT (~:» :<br />

Nam'f.? := ONE<br />

Break Add T'(-::'ss<br />

Lin,:? Numb

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!