Click or drag to resize
SoErrorStack Class

Stack debugging handler.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ErrorsSoError
      OIV.Inventor.ErrorsSoErrorStack

Namespace: OIV.Inventor.Errors
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public sealed class SoErrorStack : SoError

The SoErrorStack type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetDebugString

Returns debug string containing full error information from instance.

(Inherited from SoError.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetStack

This function returns a decoded version of the () function.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberPost

Posts the current callstack to the application callback or to OIV.Inventor.Errors.SoDebugError if the custom callback was not specified.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberHandlerCallback

Sets the handler callback for the OIV.Inventor.Errors.SoErrorStack class.

Top
Remarks

OIV.Inventor.Errors.SoErrorStack is used to obtain and/or report the program callstack.

The OIV.Inventor.Errors.SoErrorStack.Post() method gets the actual callstack and calls a custom callback, if one is defined, else it dumps the callstack using OIV.Inventor.Errors.SoDebugError.

It is also possible to allow SoStackError to automaticaly report the callstack, when a signal is reported by the system, by setting OIV_DEBUG_STACKERROR to 1.

See Also