A.4. Debugging

If you are using an interactive debugger, you may be able to set a breakpoint in SoError::handleError(), which is called whenever an error is handled. You can also create your own error handler, register it, and use the callback function to investigate the error condition.