Debugging a GRIP Program


Single Step

The interpreter executes the current statement and suspends at the next line.

If the current instruction is a CALL statement, the interpreter executes all instructions and observes all breakpoints in the called subprogram. When control returns to the calling subprogram, the system sets a temporary breakpoint at the line following the CALL statement and suspends program execution. To resume program execution, choose either Single Step or Continue from the main Debug GRIP menu.

For example, if in the calling routine, there is no breakpoint between the current line and the line that follows, the interpreter suspends the program due to Single Step. However, if there is a breakpoint(s) in between the two lines and the program execution suspends at the temporary breakpoint, the reason stopped is Breakpoint.