372
21-3
Debugging a Program
A problem in a program that keeps the program from running correctly is called a
“bug,” and the process of eliminating such problems is called “debugging.” Either
of the following symptoms indicates that your program contains bugs and that
debugging is required.
• Error messages appearing when the program is run
• Results that are not within your expectations
u
u
u
u
u
To eliminate bugs that cause error messages
An error message, like the one shown below, appears whenever something illegal
occurs during program execution.
When such a message appears, press
d
or
e
to display the location where the
P.450
error was generated, along with the cursor. Check the “Error Message Table” for
steps you should take to correct the situation.
P.374
• Note that pressing
d
or
e
will not display the location of the error if the
program is password protected.
u
u
u
u
u
To eliminate bugs that cause bad results
If your program produces results that are not what you normally expect, check the
P.379
contents of the program and make necessary changes. See “Editing File Names
and Program Contents” for details on how to change program contents.
Summary of Contents for CFX-9970G
Page 22: ... CFX 9970G ...
Page 452: ...435 1 2 3 4 5 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 453: ...436 Program for Circle and Tangents No 4 Step Key Operation Display 6 7 8 9 10 ...
Page 454: ...437 11 12 13 14 15 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 455: ...438 16 17 18 Program for Circle and Tangents No 4 Step Key Operation Display ...
Page 458: ...441 1 2 3 4 5 Program for Rotating a Figure No 5 Step Key Operation Display ...