Commit 146b2f05 authored by hjk's avatar hjk
Browse files

debugger: don't store watch points in session

parent e85bfa70
......@@ -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())
if (data.type() != BreakpointByFileAndLine)
map.insert(_("type"), data.type());
if (!data.fileName().isEmpty())
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