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:
|
||||
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 notifyRemoteFinished() {}
|
||||
|
||||
|
||||
@@ -44,14 +44,12 @@ public:
|
||||
|
||||
Valgrind::Callgrind::ParseData *takeParserData();
|
||||
|
||||
bool canPause() const override { return true; }
|
||||
|
||||
public slots:
|
||||
/// controller actions
|
||||
void dump();
|
||||
void reset();
|
||||
void pause() override;
|
||||
void unpause() override;
|
||||
void pause();
|
||||
void unpause();
|
||||
|
||||
/// marks the callgrind process as paused
|
||||
/// calls pause() and unpause() if there's an active run
|
||||
|
||||
Reference in New Issue
Block a user