LESSON 2
Using The Debugger
1. Type into the editing area:

    	DO
    	T=T+1
    	PRINT T
    	LOOP

2. The debugger allows you to watch your program while it runs. This can be useful to track down why your program does not behave as you expected. To active the debugger, press ESCAPE when you run the program. To run the program in debug mode, click the Debug Button from the Menu Area:
3. Press the ESCAPE Key to make the Debugger Window appear, then select "Step Through Mode" from the menu bar and then "Slow Program" from the available buttons. This slows the program down and allows you to watch your program instructions being executed one at a time:
4. To watch the state of your programs variables, select "Variable Watch" and observe the variable T slowly increment. You can observe any global variable being used by your program. By selecting the variable from the Debugger Window, you can store it in a watcher window. This is useful when the number of variables in your program exceeds the size of the watcher view.
5. To close the debugger, click the Close Button located in the top right corner of the Debugger Window:
CLICK HERE TO RETURN TO THE MAIN MENU