Game Development Reference
In-Depth Information
7 - Using the Debugger
Figure 7-1: The Debug Control window.
Now when you run the Dragon Realm game (by pressing F5 or clicking Run , then Run
Module in the file editor window's top menu), the debugger program will be activated. This
is called running a program "under a debugger". In the Debug Control window, check the
Source and Globals checkboxes. Then run the program by pressing F5 in the file editor
window (Figure 7-2).
Figure 7-2: Running the Dragon Realm game under the debugger.
When you run Python programs with the debugger activated, the program will stop
before it executes the first line of code. If you click on the file editor window's title bar (and
Search WWH ::




Custom Search