7.4 Controlling the Execution

When an application is being debugged by Valhalla, it is executed as a separate process, under the control of Valhalla. This gives the user of Valhalla extensive control over the debugged process.

7.4.1 Interrupting the debugged process

If the debugged process executes, and you wish to interrupt the execution, you can always hit the Stop button in the Buttons Area of the Universe (or select the Stop item in the Control menu of the Universe). This will immediately interrupt the debugged process, making it possible to inspect it (the state of objects, the current stack, etc.).

7.4.2 Setting Breakpoints

Breakpoints are naturally associated with the imperatives of the BETA program, and acts as points in the debugged process, where Valhalla is given some control over the execution of the debugged process. Valhalla supports three types of break points:

Valhalla supports that break points are positioned in two positions, relative to an imperative:

An important aspect of Oneshot and Break break points is, that the object- and stack views that are visible in the Valhalla Universe, are automatically updated to reflect the current state of the objects and the stack at the time of the break. Should the object shown in an object view have become inaccessible (and therefore reclaimed by the garbage collector), this fact is reflected in the object view by clearing the object view, and changing the label of the view.

7.4.3 Unsetting Breakpoints

Breakpoints may be unset essentially in the same way as they have been set.


Mjolner Integrated Development Tool - Reference Manual
© 1991-2002 Mjølner Informatics
[Modified: Monday October 23rd 2000 at 11:49]