Game Development Reference
In-Depth Information
The first button is the step in button. This button steps into a code block.
The middle button is the step over button. This button steps over a code block and skips it.
The last button is the step out button. This button steps out of a code block and ends it.
Using these buttons, we can quickly skip through or skip over sections of code to make
debugging easier.
The debugger has a large number of things we can watch. To see them all, simply close
the form using the gray close button and then right-click on the empty space to open a
new form. We can see things such as all the global variables currently declared, all the in-
stances currently active, and so on.
Some forms require the game to be paused to display information, so if a form shows up
blank, try pausing the game using the green pause button.
The debugger is an extremely useful tool, which allows you to watch every aspect of a
GameMaker game as it runs and will come in handy when things aren't working quite as
expected. It's designed to be a watching tool and provide information on your game. The
game cannot actually be edited in real time as it runs, so all changes will need to be made
in GameMaker itself.
Search WWH ::




Custom Search