SoControl

InventorModule
genre Inspectors
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll SoControl
definition SoControl.def
see also CoreControl
keywords exception, handling, crash, prevention

Purpose

The module SoControl allows to influence the core behavior of Open Inventor, such as the reaction on exceptions.

Usage

The module is used by MeVisLab and you shouldn’t be required to use it directly yourself.

Nonetheless, you may adjust the settings in your own application by creating an instance of the module in your MeVisLab network.

Details

A report of the recently called actions and traversed nodes can be generated if an exception is thrown to trace the cause of a crash.

This feature is disabled by default and can be enabled at runtime using the SoCatch::enableExceptionHandling() function found in <Inventor/SoCatch.h>.

Windows

Default Panel

../../../Modules/Inventor/SoControl/mhelp/Images/Screenshots/SoControl._default.png

Parameter Fields

Visible Fields

Catch Exceptions

name: catchExceptions, type: Bool, default: FALSE

If checked, the module catches and handles exceptions to avoid a crash of the application.

Trace List Length

name: traceListLength, type: Integer, default: 32

Sets the number of recently traced functions that will be reported on a exception.

Trace Stack Depth

name: traceStackDepth, type: Integer, default: 32

Sets the number of functions that the calling stack will report on a exception.