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
No related branches found
No related tags found
Showing
- debugger/CMakeLists.txt 2 additions, 0 deletionsdebugger/CMakeLists.txt
- debugger/interfaces/ivariablecontroller.cpp 5 additions, 2 deletionsdebugger/interfaces/ivariablecontroller.cpp
- debugger/tests/CMakeLists.txt 7 additions, 0 deletionsdebugger/tests/CMakeLists.txt
- debugger/tests/test_ivariablecontroller.cpp 94 additions, 0 deletionsdebugger/tests/test_ivariablecontroller.cpp
- debugger/tests/test_ivariablecontroller.h 53 additions, 0 deletionsdebugger/tests/test_ivariablecontroller.h
- tests/CMakeLists.txt 9 additions, 0 deletionstests/CMakeLists.txt
- tests/testbreakpointcontroller.cpp 37 additions, 0 deletionstests/testbreakpointcontroller.cpp
- tests/testbreakpointcontroller.h 48 additions, 0 deletionstests/testbreakpointcontroller.h
- tests/testdebugsession.cpp 155 additions, 0 deletionstests/testdebugsession.cpp
- tests/testdebugsession.h 111 additions, 0 deletionstests/testdebugsession.h
- tests/testframestackmodel.cpp 43 additions, 0 deletionstests/testframestackmodel.cpp
- tests/testframestackmodel.h 51 additions, 0 deletionstests/testframestackmodel.h
- tests/testvariablecontroller.cpp 77 additions, 0 deletionstests/testvariablecontroller.cpp
- tests/testvariablecontroller.h 66 additions, 0 deletionstests/testvariablecontroller.h
Loading
Please register or sign in to comment