forked from qt-creator/qt-creator
Debugger: Remove AnalyzerRunControl::pause etc
Only supported by CallGrind, and still functional there. This interface might be useful to move to the ProjectExplorer::RunControl base class, as similar functionality is present e.g. in the QmlProfiler. Change-Id: Ie1f8a044ace77aea7ed3c1296847cc7497bac409 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -47,11 +47,6 @@ class DEBUGGER_EXPORT AnalyzerRunControl : public ProjectExplorer::RunControl
|
|||||||
public:
|
public:
|
||||||
AnalyzerRunControl(ProjectExplorer::RunConfiguration *runConfiguration, Core::Id runMode);
|
AnalyzerRunControl(ProjectExplorer::RunConfiguration *runConfiguration, Core::Id runMode);
|
||||||
|
|
||||||
/// Controller actions.
|
|
||||||
virtual bool canPause() const { return false; }
|
|
||||||
virtual void pause() {}
|
|
||||||
virtual void unpause() {}
|
|
||||||
|
|
||||||
virtual void notifyRemoteSetupDone(Utils::Port) {}
|
virtual void notifyRemoteSetupDone(Utils::Port) {}
|
||||||
virtual void notifyRemoteFinished() {}
|
virtual void notifyRemoteFinished() {}
|
||||||
|
|
||||||
|
|||||||
@@ -44,14 +44,12 @@ public:
|
|||||||
|
|
||||||
Valgrind::Callgrind::ParseData *takeParserData();
|
Valgrind::Callgrind::ParseData *takeParserData();
|
||||||
|
|
||||||
bool canPause() const override { return true; }
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
/// controller actions
|
/// controller actions
|
||||||
void dump();
|
void dump();
|
||||||
void reset();
|
void reset();
|
||||||
void pause() override;
|
void pause();
|
||||||
void unpause() override;
|
void unpause();
|
||||||
|
|
||||||
/// marks the callgrind process as paused
|
/// marks the callgrind process as paused
|
||||||
/// calls pause() and unpause() if there's an active run
|
/// calls pause() and unpause() if there's an active run
|
||||||
|
|||||||
Reference in New Issue
Block a user