Debug mode

How to make your debug easier with the Debug mode?

Written By Nikolas Ethoré (Super Administrator)

Updated at September 21st, 2022

How Debug mode works

For model developers, a specific Mind setting is available enabling the Debug mode which will disable some features and improve logs for better debugging of models during their development.

First, you must have a Creator account to use this “Debug mode”.

Enable the Debug mode

Delete

Please note that you need to have the following rights to access this feature:

  • Project Settings access
  • Project Settings edition
  • Project debug mode

Click on the Settings button on the sidebar, then go to the Debug settings tab and turn on Debug mode.

Added features to Milliman Mind

New behavior

New debug behavior

  • Runs won’t finish if it encounters an error
    In classic mode run, Milliman Mind displays some errors, but it doesn’t stop the run when it finds an error. In Debug mode, it will automatically stop calculation and display the error that occurred.
  • Unlocking locked cells
    Locked cells won’t be locked anymore to make debugging easier.
  • Display of all rows and columns
    We display in grids all hidden columns and hidden rows with the debug mode.
  • New Debug panel
    A new Debug button will appear on the left navbar, giving you access to improved statistics features.
Delete

Debug/stats panel

Debug / Statistics panel

In this popup, you will find all the statistics of the model: Number of assumptions and formulas by grid and instance. The memory profiler will also give you a complete overview of memory consumption per model, grid or grid column.

Delete

Performance profiler

Improved performance profiler

To access the debug profiler, enable it in the Settings (like classic profiler).

The profiler icon will appear above the run button: When you run your model, this function will calculate the run time of each cell and grid (classic behavior), but it will also enable you to know from where comes the first NaN in the chain of calculation of your project.

Delete