forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user