forked from qt-creator/qt-creator
ScriptConsole: Refactor to QtMessageLogWindow
Move QML/JS independent classes to common Debugger code. A Debugger Engine needs to override evaluateScriptExpression() to provide engine specific script evaluation. Change-Id: I02b23b380a3eb1b12003b30ded0b7d075e44dfed Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -96,6 +96,8 @@ public:
|
||||
int timeout = -1) const;
|
||||
void resetLocation();
|
||||
|
||||
Internal::QtMessageLogHandler *qtMessageLogHandler() const;
|
||||
|
||||
protected:
|
||||
void detachDebugger();
|
||||
void executeStep();
|
||||
@@ -112,6 +114,7 @@ protected:
|
||||
void executeRunToFunction(const QString &functionName);
|
||||
void executeJumpToLine(const ContextData &data);
|
||||
void executeDebuggerCommand(const QString &command);
|
||||
bool evaluateScriptExpression(const QString &expression);
|
||||
|
||||
void setupEngine();
|
||||
void setupInferior();
|
||||
|
||||
Reference in New Issue
Block a user