7 Debugger

In order to debug a program open the program in the mjolnertool.
Choose the fragmentgroup containing the program descriptor. Often this file has the same name as your executable. Choose "Debug" in the "Compile/Run" menu. You can only debug a program if you have an executable, therefore you must compile your program before debugging.

The debugger performs a check of all files used in the program, therefore it can take from a few seconds up to a minute to open the debugger on a large program.

When finished initialising, Valhalla opens its Valhalla Universe containing a number of menus. The figure shows the look of the Valhalla Universe when using Valhalla on the example program from the tutorial.

Figure 8: The Valhalla Universe

[5kb 683x457 GIF]

The top pane of the Valhalla Universe contains the menus. The middle pane contains the different views, and the bottom pane contains two info areas and a number of buttons.

Editing is disabled during debugging. This means that if you eventually discover a bug in your program and want to correct it, you must close Valhalla. Do this by choosing "Close" in the "File" menu. After editing a new compilation is required.


Mjolner Integrated Development Tool - Reference Manual
© 1991-2002 Mjølner Informatics
[Modified: Thursday October 4th 2001 at 16:56]