4.2. How to start MeVisLab in Release or Debug mode

Currently, there are three options to control the selection of the started variant when you launch MeVisLab.

To permanently change the default startup variant, use the MeVisLab › Preferences… › General › +User Startup Settings section in the Preferences panel of MeVisLab (Figure 4.1, “Choosing Debug or Release as startup variant of MeVisLab”).

Figure 4.1. Choosing Debug or Release as startup variant of MeVisLab

Choosing Debug or Release as startup variant of MeVisLab

To select an alternative variant for a single session, press the Option (alt) key on the keyboard while launching MeVisLab. You may use the Option key as well, if MeVisLab is launched indirectly via double-click on a MeVisLab Network document icon (.mlab), e.g. on the Desktop or in a Finder window. The MeVisLab application icon in the Dock will change and display the icon of the started variant (Figure 4.2, “Icons of the different MeVisLab variants”).

Figure 4.2. Icons of the different MeVisLab variants

Icons of the different MeVisLab variants

A specific MeVisLab variant may also be launched from the command line by passing an option to the MeVisLab starter executable. Valid choices are -release and -debug, e.g.

…/MeVisLab.app/Contents/MacOS/MeVisLab -release

to start the Release version, and

…/MeVisLab.app/Contents/MacOS/MeVisLab -debug

to launch MeVisLab in Debug mode.