forked from qt-creator/qt-creator
debugger: create a disassembler view as main editor
"Stepping instruction wise" and "display disassembler" mode is now toggled by a single action. This also allows to re-use F10 and F11 as keyboard shortcut. Missing: caching of disassembler output, removal of old disassembler view.
This commit is contained in:
@@ -30,11 +30,14 @@
|
||||
#ifndef DEBUGGER_STACKHANDLER_H
|
||||
#define DEBUGGER_STACKHANDLER_H
|
||||
|
||||
#include "stackframe.h"
|
||||
|
||||
#include <QtCore/QAbstractTableModel>
|
||||
#include <QtCore/QObject>
|
||||
|
||||
#include <QtGui/QIcon>
|
||||
|
||||
|
||||
namespace Debugger {
|
||||
namespace Internal {
|
||||
|
||||
@@ -44,21 +47,6 @@ namespace Internal {
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
struct StackFrame
|
||||
{
|
||||
StackFrame(int level = 0);
|
||||
bool isUsable() const;
|
||||
QString toToolTip() const;
|
||||
|
||||
int level;
|
||||
QString function;
|
||||
QString file; // we try to put an absolute file name in there
|
||||
QString from;
|
||||
QString to;
|
||||
int line;
|
||||
QString address;
|
||||
};
|
||||
|
||||
/*! A model to represent the stack in a QTreeView. */
|
||||
class StackHandler : public QAbstractTableModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user