forked from qt-creator/qt-creator
Debugger: Move run parameters from engine to tool runner
The parameters belong to the run control, they should not be triplicated in case of a combined engine. Change-Id: I4dd84220edbd7a44b902cc52627fe01d0568db75 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -47,6 +47,9 @@ namespace CPlusPlus { class Snapshot; }
|
||||
namespace Utils { class SavedAction; }
|
||||
|
||||
namespace Debugger {
|
||||
|
||||
class DebuggerRunTool;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class BreakHandler;
|
||||
@@ -63,7 +66,7 @@ enum TestCases
|
||||
};
|
||||
|
||||
// Some convenience.
|
||||
void updateState(DebuggerEngine *engine);
|
||||
void updateState(DebuggerRunTool *runTool);
|
||||
void updateWatchersWindow(bool showWatch, bool showReturn);
|
||||
const CPlusPlus::Snapshot &cppCodeModelSnapshot();
|
||||
bool hasSnapshots();
|
||||
@@ -73,9 +76,9 @@ void openTextEditor(const QString &titlePattern, const QString &contents);
|
||||
void showMessage(const QString &msg, int channel, int timeout = -1);
|
||||
|
||||
bool isReverseDebugging();
|
||||
void runControlStarted(DebuggerEngine *engine);
|
||||
void runControlFinished(DebuggerEngine *engine);
|
||||
void displayDebugger(DebuggerEngine *engine, bool updateEngine);
|
||||
void runControlStarted(DebuggerRunTool *runTool);
|
||||
void runControlFinished(DebuggerRunTool *runTool);
|
||||
void displayDebugger(DebuggerRunTool *runTool, bool updateEngine);
|
||||
void synchronizeBreakpoints();
|
||||
|
||||
void saveModeToRestore();
|
||||
|
||||
Reference in New Issue
Block a user