Initializing help system before first use

Starting an Xpress Insight Debug Session

Ensure that:
  • You have installed Python.
  • You have installed the debugpy, xpress, and xpressinsight modules from pip or conda.
  • You have set the worker environment variables geared towards your Python installation from PyPI or conda as outlined in the Xpress Insight Python module documentation.
    • Key elements are around setting MOSEL_RESTR and PYTHON_EXE as well as other environment variables in the Insight worker's application.properties file.
Complete the following steps to run an Insight scenario in debug mode:
  1. Open the Xpress Insight pane in Xpress Workbench and right-click on a scenario. Selection the execution mode (LOAD or RUN) you want to debug.
    When selecting Debug Scenario Manually, you must either click on Click to Open Xpress Insight in the green banner, or open Xpress Insight directly and execute the scenario manually by clicking a button for any custom execution mode, or by using the built-in LOAD and RUN options from the scenario pill drop-down.
  2. During debugging, the Debugger sidebar opens if breakpoints have been set.
    See the next section for how to set breakpoints.
  3. When the model has finished executing, the debugger exits and the Debugger sidebar closes.
    Note: Once the debugger has exited, you can no longer see the values of any model variables. Make sure you have set breakpoints accordingly. This is in contrast to the Mosel debugger, which automatically suspends just before exit.

© 2001-2024 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.