Run-Time Errors; Debugging Techniques - Texas Instruments Voyage 200 User Manual

Graphing calculator
Hide thumbs Also See for Voyage 200:
Table of Contents

Advertisement

Run-Time Errors

Run-Time Errors
Run-Time Errors
Run-Time Errors
The first step in debugging your program is to run it. The graphing calculator
automatically checks each executed command for syntax errors. If there is an error, a
message indicates the nature of the error.
To display the program in the Program
Editor, press ¸. The cursor appears
in the approximate area of the error.
To cancel program execution and return to the Home screen, press N.
If your program allows the user to select from several options, be sure to run the
program and test each option.

Debugging Techniques

Debugging Techniques
Debugging Techniques
Debugging Techniques
Run-time error messages can locate syntax errors but not errors in program logic. The
following techniques may be useful.
During testing, do not use local variables so that you can check the variable values
after the program stops. When the program is debugged, declare the applicable
variables as local.
Within a program, temporarily insert
values of critical variables.
-
and
Disp
Pause
change the function into a program, change
. Use
EndPrgm
and change the program back into a function.
Pause
Programming
Disp
cannot be used in a user-defined function. To temporarily
and
to debug the program. Then remove
Disp
Pause
and
commands to display the
Pause
and
Func
EndFunc
to
and
Prgm
and
Disp
635

Advertisement

Table of Contents
loading

This manual is also suitable for:

Voyage 200 - voyage 200 calculator

Table of Contents