37 catch (std::exception& e)
39 std::cout <<
"MRPT exception caught: " << e.what() << std::endl;
44 printf(
"Untyped exception!!");
void getCallStackBackTrace(TCallStackBackTrace &out_bt)
Returns a list of strings representing the current call stack backtrace.
static int func1(int a, int b)
See: getCallStackBackTrace()
std::string asString() const
Prints all backtrace entries, one per line in a human-readable format.
GLubyte GLubyte GLubyte a