| 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 getStackFrames() function. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Post | Posts the current callstack to the application callback or to 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 SoErrorStack class. |
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.