Click or drag to resize
SoErrorStack Class

Stack debugging handler.

Inheritance Hierarchy

Namespace: OIV.Inventor.Errors
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 9.9.13.0 (9.9.13.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 getStackFrames() 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 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 SoErrorStack class.

Top
Remarks

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

The post() method gets the actual callstack and calls a custom callback, if one is defined, else it dumps the callstack using 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