Commit 2845d758 authored by hjk's avatar hjk

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's avatarChristian Stenger <christian.stenger@qt.io>
parent ea0d3f9a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment