aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/breakhandler.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-11-22 16:55:53 +0100
committerhjk <hjk@qt.io>2019-11-28 09:08:51 +0000
commit70aab593bd84f6968abe6c5a3c8e37ba6701f500 (patch)
tree6a2f621756917ce416e0bb0982a36bd7237051b1 /src/plugins/debugger/breakhandler.h
parent6b1d54421e3831576c8d169bf38caf1ab503c84a (diff)
Debugger: Delete breakpoint markers on session switch
There were some left-over "ghost markers" when switching sessions, which should be gone now. This also pointed to a wrong use of SessionManager::aboutToUnloadSession which mustn't save data re-created in a save/load cycle as it is called during any session load, including the very first on startup no such data (e.g. breakpoints) have been created yet. Change-Id: I237a9e3500a786841618941ce85a97f7bd4f318c Fixes: QTCREATORBUG-22856 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r--src/plugins/debugger/breakhandler.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h
index fa7434657f..a848433e8b 100644
--- a/src/plugins/debugger/breakhandler.h
+++ b/src/plugins/debugger/breakhandler.h
@@ -312,7 +312,6 @@ private:
void loadSessionData();
void saveSessionData();
- void aboutToUnloadSession();
bool contextMenuEvent(const Utils::ItemViewEvent &ev);
void gotoLocation(const GlobalBreakpoint &gbp) const;