Knowledge Base
Showing results for 
Search instead for 
Did you mean: 

What techniques can I use to debug my Plain English programs.


Use of the Plain English programming environment and general Plain English programming is covered in the Training courses, what other techniques can be used to debug a program.


Plain English Integrated Development Environment.


Often additional techniques are required to debug Plain English, especially when attempting to analyze, modify or fault find other peoples code.


Some techniques you can use for debugging your program and isolate problems are:

  1. Add in additional line labels to the program to isolate where the program is disabling or failing, if it disables you will be able to see the "CurrentLine" it has failed on and therefore know which line of code is causing the problem.
  2. Even if a program does not disable you can use the "Stop" keyword in the program it will act as a break in the code and you can look at the values of the various variables, that should tell you what value could be at 0.
  3. Use the Watch window to show the values of the various objects, when used with the above 2 techniques it allows you to accurately trace a program flow.
  4. Temporarily create local variables as actual points and comment them out from the assignment at the top of the program, this allows you to use the Watch window to see the points values. Revert them back to local objects when debugging is complete.
  5. Ensure none of the Program size limitations as defined in Lessons Learned Article #2580 are exceeded.



Tags (2)
Labels (1)
Version history
Revision #:
2 of 2
Last update:
‎2018-09-07 10:16 PM
Updated by: