User Manual

Table Of Contents
17-20
Using Error Messages for Debugging
If a red text error message appears on the SHELL screen
when you run a py file, perform the steps below.
1. Use f to move the highlighting to the error message line, and then use d and e to
check the details of the error message.
2. Press J.
This returns to the screen from which the py file was run (script editor screen or file list
screen). Open the py file where the error occurred and check the contents of the line for
which an error message was displayed. Make corrections as required.
Note that an error message may not necessarily identify the actual problem.
Note that an error message will also appear if there is a SHELL input problem, making it
appear that there is an error in the py file. For example, if input data does not match the
data type specified by
input, etc. If you are unable to find a problem with the line for which
an error message was displayed, check if SHELL input is correct.
The function menu {JUMP} function comes in handy when you need to jump to a particular line
on the script editor screen. See “To jump to a specific line number on the script editor screen
(page
17-18).
Debugging Based on py File Running Results
If running a py file produces an unexpected result, check the entire content of the py file and
make corrections as required.
u
u