02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter —Program Instructions<br />

DBBREAK<br />

Purpose Statement for adding or deleting a breakpoint for the Fingerprint Debugger.<br />

Syntax DBBREAK|[ON|OFF]<br />

is the line number where the debugger will break and also the<br />

name of the breakpoint.<br />

is the line label where the debugger will break and also the name<br />

of the breakpoint.<br />

ON adds the specified breakpoint (default).<br />

OFF deletes the specified breakpoint.<br />

Remarks The execution of a program will break at each program line, that has been<br />

specified as a breakpoint, and the message “break in line nnn” will be transmitted<br />

on the Debug STDOUT port. If a CONT statement is issued, the<br />

execution will continue at next line, whereas if RUN is issued, the execution<br />

will start again from the first program line.<br />

The line number or line label does not to have to exist when a breakpoint<br />

is added, but if a non-existing breakpoint is deleted an error will occur<br />

(Error 39 or 70).<br />

There is no error given if a breakpoint is added more than once. When a<br />

breakpoint is deleted, all breakpoints with the same name are deleted at the<br />

same time. There will only be one break for each line even if there are more<br />

than one breakpoint on that line.<br />

When a NEW statement is issued, all breakpoints will be deleted.<br />

Example 10 PRINT "A"<br />

20 PRINT "B"<br />

30 PRINT "C"<br />

DBBREAK 20 ON<br />

RUN<br />

If a breakpoint is set on a line with a call to a FOR or WHILE loop, there<br />

will only be one break on that line (the first time it is executed).<br />

Related instructions are DBBREAK OFF, DBEND, DBSTDIO,<br />

DBSTEP, and STOP.<br />

A<br />

Break in line 20<br />

yields:<br />

0 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

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

Saved successfully!

Ooh no, something went wrong!