SoErrorStack Class |
Stack debugging handler.
Namespace: OIV.Inventor.Errors
The SoErrorStack type exposes the following members.
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetDebugString | Returns debug string containing full error information from instance. | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetStack | This function returns a decoded version of the () function. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Post | Posts the current callstack to the application callback or to OIV.Inventor.Errors.SoDebugError if the custom callback was not specified. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HandlerCallback | Sets the handler callback for the OIV.Inventor.Errors.SoErrorStack class. |
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.