library "mspcore"
{
source "source/core";
+ source "source/debug";
source "source/time";
install true;
};
source "source/time";
install_headers "msp/time";
};
+
+ headers "debug"
+ {
+ source "source/debug";
+ install_headers "msp/debug";
+ };
};
Distributed under the LGPL
*/
#include <sstream>
-#include "backtrace.h"
#include "error.h"
using namespace std;
w(w_)
{
#ifdef WITH_EXCEPTION_BACKTRACE
- bt=Backtrace::create();
+ bt=Debug::Backtrace::create();
#endif
}
#include <exception>
#include <string>
-#include "backtrace.h"
+#include "../debug/backtrace.h"
namespace Msp {
~Exception() throw() { }
const char *what() const throw() { return w.c_str(); }
- const Backtrace &get_backtrace() const throw() { return bt; }
+ const Debug::Backtrace &get_backtrace() const throw() { return bt; }
private:
std::string w;
- Backtrace bt;
+ Debug::Backtrace bt;
};
bool ref=(*i=='R');
if(ref) ++i;
}
+
+ return result;
}
} // namespace Debug