aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/stackframe.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2014-02-07 18:10:02 +0100
committerhjk <hjk121@nokiamail.com>2014-02-25 16:48:06 +0100
commite64fefdbc466b1247a2cee68617ad904d2388712 (patch)
tree680e4d22a99cf6244904edf3f440d8e0d549f319 /src/plugins/debugger/stackframe.h
parent27ae878040153904826a3b99459967e209612cde (diff)
Add a stack window menu entry to display QML stack frame.
Add language field to stack frame. Add virtual for loading QML stack invoked by stack window context menu, implement for CDB, GDB. Task-number: QTCREATORBUG-11144 Change-Id: Ic39be3978b40d96ed18cb69a8355296ec572ece7 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/stackframe.h')
-rw-r--r--src/plugins/debugger/stackframe.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/debugger/stackframe.h b/src/plugins/debugger/stackframe.h
index 8de0057f4cd..d62bb4022e2 100644
--- a/src/plugins/debugger/stackframe.h
+++ b/src/plugins/debugger/stackframe.h
@@ -30,6 +30,8 @@
#ifndef DEBUGGER_STACKFRAME_H
#define DEBUGGER_STACKFRAME_H
+#include "debuggerconstants.h"
+
#include <QCoreApplication>
#include <QMetaType>
@@ -38,6 +40,9 @@ class QDebug;
QT_END_NAMESPACE
namespace Debugger {
+
+class DebuggerStartParameters;
+
namespace Internal {
class StackFrame
@@ -48,8 +53,10 @@ public:
bool isUsable() const;
QString toToolTip() const;
QString toString() const;
+ void fixQmlFrame(const DebuggerStartParameters &sp);
public:
+ DebuggerLanguage language;
qint32 level;
QString function;
QString file; // We try to put an absolute file name in there.