RPL Debugging, Control Panel
The Control Panel provides buttons which are used to control the
RPL execution of the RPL code in the emulator. The project should be
loaded and running (or just stopped by a breakpoint). The buttons on this
panel do the following:
Step In | If the next RPL instruction refers to an RPL secondary
(subroutine), do one instruction advancing into the secondary. If not
at a reference to an RPL secondary, perform one RPL instruction. |
Step Over | Perform one RPL instruction. If the RPL instruction
calls a secondary (subroutine) do the secondary at full speed and halt at
the next RPL instruction of the current routine. |
Continue | Run the emulation at full speed until the next
breakpoint or the end of the program |
Stop | Stop the emulation at the next RPL instruction
encountered and enter step-by-step mode. If the calculator is in
the idle loop nothing will happen until an RPL instruction is
encountered. One way to break at the beginning of your code is
to press STOP and then start the RPL code. This produces an
immediate stop. |
Redraw | Update all panels of the RPL Debugging Window |
RPL Execution Time
The execution time since the first RPL instruction is
shown in milleseconds.
Number of Stack Items
The maximum number of items to be shown in the Stack
Window can be controlled by this spin control.
ROM View 1 and View 2 Registers
The registers which control Flash Memory Page mappings
are shown by these two numbers.
Next Object
Window
This window shows the next RPL command to be executed
when the Step In, Step Over or Continue buttons
are pressed.
Stack Instructions
In the small window above the Step Over button,
you may type an instruction like xDUP, xDROP, xSWAP etc. to change the
stack. These instructions are executed immediately. Any
RPL instruction can be typed such as BINT2, FALSE etc. Items
which require a compiler like text strings, numbers etc. will not work
in this little window.
This is a very useful window for changing the stack, and any other calculator data item during single step operation.