aboutsummaryrefslogtreecommitdiffstats
path: root/debugging.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@digia.com>2012-12-04 10:31:31 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2012-12-07 16:21:49 +0100
commit3b3f3bebcd24073455de9f4abf2f0c7712a1c1ee (patch)
treed856d2bf8b2b312112e08e98d0855d3b051057c4 /debugging.h
parenta6ffc32325c99c158cea2d19c3503f29fc91f75e (diff)
Add utility function to print stack traces from lldb/gdb.
Change-Id: I81315a1cd6900dbecfc9a39d9dc4256461163921 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'debugging.h')
-rw-r--r--debugging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/debugging.h b/debugging.h
index 7a0a27dfdb..7c4c273e43 100644
--- a/debugging.h
+++ b/debugging.h
@@ -121,6 +121,7 @@ public: // debugging hooks
const char *currentArg(unsigned idx) const;
const char *currentLocal(unsigned idx) const;
const char *currentTemp(unsigned idx) const;
+ void printStackTrace() const;
private:
int callIndex(VM::ExecutionContext *context);