Probeer eens met een debugger, gdb?
BTW,
// src/Sylph/Core/Exception.h:136
/**
* This function adds a message to the trace information inside this
* Exception. It can be useful to add the name of a function the Exception
* passes through (i.e. what <code>strace</code> does), or any other
* information you like to add to the Exception. This information is purely
* diagnostic.
* @param message The message to add in the traceinfo log.
*/
void addTraceMessage(const char * message) const throw() {
if(tracemsg == null) {
tracemsg = new TraceMessage{message,null};
} else {
TraceMessage * current = tracemsg;
while(current->next != null) {
current = current->next;
}
current->next = new TraceMessage{message,null};
}
}
// src/Sylph/Core/UncaughtExceptionHandler.cpp:37
void DefaultUncaughtExceptionHandler::handle(const Exception& ex) const {
StringBuffer buf;
buf << "Uncaught Exception: "<<ex.name()<<": "<<ex.what()<<'\n';
if(ex.tracemsg != null) {
buf << "Trace messages: \n";
Exception::TraceMessage * msg = ex.tracemsg;
do {
buf << " " << String(msg->message) << '\n';
} while((msg->next != null) && (msg = msg->next));
}
thisapp->fail(buf, false);
}
HTH,
- SeySayux