Fix variable toolview not sync with framestack view.

Authored by qi437103 on May 4 2016, 1:29 AM.

Description

Fix variable toolview not sync with framestack view.

Summary:
The problem is caused by the active frame/thread in IVariableController,
which aren't properly updated when autoUpdate() == UpdateNone.

This commit removes m_active{Frame,Thread} because we already only call
update() in the event handler of frame/thread changed event.

Reviewers: kfunk, apol, KDevelop

Reviewed By: apol, KDevelop

Subscribers: mwolff, tcanabrava, apol, kdevelop-devel

Projects: KDevelop

Differential Revision: https://phabricator.kde.org/D1351

Merged Changes

CommitAuthorDetailsCommitted
1b02bbaaade1D2701qi437103
Add unit tests for IVariableController 
May 6 2016
94a73b0cb638D2701qi437103
Add mock objects for IDebugSession related classes 
May 6 2016
95550c87148cD2701qi437103
Fix Bug 333759 Variables tool view not in sync with frame stack view. 
May 6 2016