Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 61
Chapter 2 Program Instructions
DBBREAK
Field of Application
Statement for adding or deleting a breakpoint for the Fingerprint
Debugger.
Syntax DBBREAK<nexp>|<sexp>[ON|OFF]
<nexp> is the line number where the debugger will break and also
the name of the breakpoint.
<sexp> is the line label where the debugger will break and also the
name of the breakpoint.
ON adds the specifi ed breakpoint (default).
OFF deletes the specifi ed breakpoint.
Remarks
The execution of a program will break at each program line, that has been
specifi ed as a breakpoint, and the message “break in line nnn” will be
transmitted on the Debug STDOUT port. If a CONT statement is issued, the
execution will continue at next line, whereas if RUN is issued, the execution
will start again from the fi rst program line.
The line number or line label does not to have to exist when a breakpoint
is added, but if a non-existing breakpoint is deleted an error will occur
(Error 39 or 70).
There is no error given if a breakpoint is added more than once. When a
breakpoint is deleted, all breakpoints with the same name are deleted at the
same time. There will only be one break for each line even if there are more
than one breakpoint on that line.
When a NEW statement is issued, all breakpoints will be deleted.
If a breakpoint is set on a line with a call to a FOR or WHILE loop, there will
only be one break on that line (the fi rst time it is executed).
Related instructions are DBBREAK OFF, DBEND, DBSTDIO, and
DBSTEP.
Example
10 PRINT "A"
20 PRINT "B"
30 PRINT "C"
DBBREAK 20 ON
RUN
yields:
A
Break in line 20