Previous Page     Next Page

How to Debug Specific Instructions

Bug-fixing and debugging code is the bane of programming. Programmers prefer to create their own code rather than figure out someone else's programming logic that make up an existing program.

With GenRe, most of the program code (generics) is operational. Only specific instructions, if added, need to be debugged and tested.

Let us go back to Purchase Order program, enter two items and click [Compute] that calculates extensions and PO amount.

By looking at the calculation results, you can verify if they are correct. You can also use the debug mode to show how each instruction is executed.

To activate debug mode, click [Special] and select [debug next command].

Then click [Compute] again.

The specific instructions are printed in the order that they are executed, showing the data and results so you know exactly where the error occurred.

Debugging is a simple procedure. Specific instructions are added at anytime and debugged on-the-fly.

Home      Previous Page     Next Page