Initializing help system before first use

Setting Breakpoints

Before you start debugging, set a breakpoint in the Mosel model. When the model reaches a breakpoint, the scenario being executed pauses. While the scenario is paused, you can use the debugger to inspect the state of the model.

Breakpoints are set by clicking in the breakpoint area, which is the narrow grey area where the line numbers for the source file are displayed. When you hover the mouse to the left of the line numbers, the cursor changes to a hand icon to show that clicking here sets a breakpoint.

  1. In the file tree, locate the source folder and click the arrow icon to its left.
  2. When the folder expands to reveal application.mos, double-click its filename.
  3. Locate the following line (near line 25):

    initializations from "input.dat"

  4. Click in the breakpoint area for this line. A red disk appears to show that a breakpoint has been set.