summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-08-20 13:26:40 (GMT)
committerKent Hansen <khansen@trolltech.com>2009-08-20 13:26:40 (GMT)
commitc171799d5d96360cffe9b8288f18859b5e2d51dd (patch)
tree5ed15d7e2f386d8badfa9792946f1b732df725e3 /src/3rdparty
parenta363adb8974929b1b18e936cb0a7effa3c229f87 (diff)
downloadQt-c171799d5d96360cffe9b8288f18859b5e2d51dd.zip
Qt-c171799d5d96360cffe9b8288f18859b5e2d51dd.tar.gz
Qt-c171799d5d96360cffe9b8288f18859b5e2d51dd.tar.bz2
set the current frame when getting callbacks in JSC Debugger
If the debugger stops execution, we want the frame pointer to be in sync (so we get the full backtrace).
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/debugger/DebuggerCallFrame.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/debugger/DebuggerCallFrame.h b/src/3rdparty/webkit/JavaScriptCore/debugger/DebuggerCallFrame.h
index 9d377ef..5984fab 100644
--- a/src/3rdparty/webkit/JavaScriptCore/debugger/DebuggerCallFrame.h
+++ b/src/3rdparty/webkit/JavaScriptCore/debugger/DebuggerCallFrame.h
@@ -56,6 +56,9 @@ namespace JSC {
JSObject* thisObject() const;
JSValue evaluate(const UString&, JSValue& exception) const;
JSValue exception() const { return m_exception; }
+#if QT_BUILD_SCRIPT_LIB
+ CallFrame* callFrame() const { return m_callFrame; }
+#endif
private:
CallFrame* m_callFrame;