]> git.tdb.fi Git - libs/core.git/blobdiff - source/debug/exceptiontrace.h
Add a facility to automatically create backtraces for exceptions
[libs/core.git] / source / debug / exceptiontrace.h
diff --git a/source/debug/exceptiontrace.h b/source/debug/exceptiontrace.h
new file mode 100644 (file)
index 0000000..52664b6
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef MSP_DEBUG_EXCEPTIONTRACE_H_
+#define MSP_DEBUG_EXCEPTIONTRACE_H_
+
+namespace Msp {
+namespace Debug {
+
+class Backtrace;
+
+void enable_exception_trace(bool);
+const Backtrace &get_exception_trace();
+
+} // namespace Debug
+} // namespace Msp
+
+#endif