CEGUI::Exception Stack Trace
Posted: Tue Nov 27, 2007 06:14
I'm looking at the CEGUI::Exception:
Why isn't there a way to get a stack trace? There isn't a place for function, file, or line number to be recorded. This would help with debugging...
Code: Select all
class CEGUIEXPORT Exception
{
public:
/*************************************************************************
Construction and Destruction
*************************************************************************/
Exception(const String& message);
virtual ~Exception(void);
/*!
\brief
Return a reference to the String object describing the reason for the exception being thrown.
\return
String object containing a message describing the reason for the exception.
*/
const String& getMessage(void) const {return d_message;}
protected:
String d_message;
};
Why isn't there a way to get a stack trace? There isn't a place for function, file, or line number to be recorded. This would help with debugging...