From 146b2f05618bb5b683166762fcdf9d56bd46b2d7 Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Mon, 15 Nov 2010 18:48:58 +0100 Subject: [PATCH] debugger: don't store watch points in session --- src/plugins/debugger/breakhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index 38fd9226da0..4c13ab7c74f 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -229,8 +229,8 @@ void BreakHandler::saveBreakpoints() const BreakpointData &data = it->data; QMap<QString, QVariant> map; // Do not persist Watchpoints. - //if (data.isWatchpoint()) - // continue; + if (data.isWatchpoint()) + continue; if (data.type() != BreakpointByFileAndLine) map.insert(_("type"), data.type()); if (!data.fileName().isEmpty()) -- GitLab