
232
Debugging
Section 7-8
7-8
Debugging
7-8-1
Overview
The debugging function allows you to stop the program at a specified line by
various methods so that the contents of variables can be monitored. It is also
possible to determine the position of the current line number.
Note
The breakpoint function can be used to set a breakpoint in an interrupt sub-
routine, but it is not possible to continue executing the interrupt subroutine
after the breakpoint.
Breaks
Variable Monitor
Tracing the Current Line Number
Each of the following debugging functions are described below.
• Break point function
• STEP function
• Variable monitor function
• Trace function
7-8-2
Breakpoint Function (BRKPT)
When a breakpoint is set at a specified line using the BRKPT command, the
program will stop at that point. Once it has stopped, a message indicating a
break in execution and the current line number will be displayed at the termi-
nal. The ASCII Unit will switch to Command Mode. Up to 255 breakpoints can
be set. To restart the program from the breakpoint, enter the CONT command
from the terminal.
Syntax
BRKPT (SET | DEL)
line_No.
Break at a
specified line
By command input
from the terminal
Break at multiple
lines (255 settings
max.)
Input BRKPT
command
Program error
Break after a
single line or
specified number
of lines
Input STEP
command
Execute up to the
specified line
Input the RUN TO
line no.
By internal
program command
Break at the
specified line
STOP command
Break condition
Break condition
Variable content monitor
(16 variables max.)
By command input from
the terminal
Input WATCH command
By internal program command
TRON command
Save in the trace buffer, then mon-
itor
TRON[M] command to TRACE command
input
Содержание C200H-ASC11
Страница 1: ...C200H ASC11 ASC21 ASC31 ASCII Units Operation Manual Revised June 2000...
Страница 2: ...iv...
Страница 4: ...vi...