Initializing help system before first use

# Debugging Models

Xpress Insight provides a fully-featured Mosel debugger. The debugger allows you to:

- Set and clear breakpoints.
- Step over the next program statement.
- Step into a subroutine call at the current statement.
- Step out of the current subroutine call.
- View the current call stack.
- View the values of local variables within the current subroutine call.
- View the values of global variables in the main model.
- View the values of global variables defined in each package.
- Evaluate expressions as you step through the program.

Covered Topics

- Starting an Xpress Insight Debug Session
- Setting and Removing Breakpoints
- Suspending and Resuming the Model
- Stepping through the Model
- Examining Variables
  While the model is suspended, you can inspect its data using the Variables section in the Debugger sidebar.
- Examining Arrays
  When inspecting array data in the debugger, Workbench shows a maximum of 20 array entries in the variables tree.
- Evaluating Expressions
  In the Watch Expressions section of the Debugger sidebar, you can evaluate any number of variables and expressions in the context of the current subroutine.

Parent Topic Running and Debugging Models

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.