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>
This commit is contained in:
Friedemann Kleint
2014-02-07 18:10:02 +01:00
committed by hjk
parent 27ae878040
commit e64fefdbc4
12 changed files with 211 additions and 5 deletions

View File

@@ -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.