Skip to content

Commit

Permalink
Fixed the debugger.
Browse files Browse the repository at this point in the history
Use the --thread & --frame argument with each command.
  • Loading branch information
adeas31 committed May 26, 2016
1 parent a65845a commit b85235d
Show file tree
Hide file tree
Showing 8 changed files with 945 additions and 870 deletions.
327 changes: 194 additions & 133 deletions OMEdit/OMEditGUI/Debugger/GDB/CommandFactory.cpp

Large diffs are not rendered by default.

20 changes: 9 additions & 11 deletions OMEdit/OMEditGUI/Debugger/GDB/CommandFactory.h
Expand Up @@ -70,20 +70,18 @@ class CommandFactory
static QByteArray execFinish();
/* Thread Commands */
static QByteArray threadInfo();
static QByteArray threadSelect(int num);
/* Stack Manipulation Commands */
static QByteArray stackListFrames();
static QByteArray stackSelectFrame(int num);
static QByteArray stackListVariables(QString printValues);
static QByteArray stackListFrames(int thread);
static QByteArray stackListVariables(int thread, int frame, QString printValues);
static QByteArray createFullBacktrace();
/* Data Manipulation Commands */
static QByteArray dataEvaluateExpression(QString expression);
static QByteArray getTypeOfAny(QString expression);
static QByteArray anyString(QString expression);
static QByteArray getMetaTypeElement(QString expression, int index, metaType mt);
static QByteArray arrayLength(QString expression);
static QByteArray listLength(QString expression);
static QByteArray isOptionNone(QString expression);
static QByteArray dataEvaluateExpression(int thread, int frame, QString expression);
static QByteArray getTypeOfAny(int thread, int frame, QString expression, bool inRecord);
static QByteArray anyString(int thread, int frame, QString expression);
static QByteArray getMetaTypeElement(int thread, int frame, QString expression, int index, metaType mt);
static QByteArray arrayLength(int thread, int frame, QString expression);
static QByteArray listLength(int thread, int frame, QString expression);
static QByteArray isOptionNone(int thread, int frame, QString expression);
static QByteArray GDBExit();
};

Expand Down

0 comments on commit b85235d

Please sign in to comment.