diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index e30f64904e6fd7a02200ee5fe101f21269c429bc..df378bdeea14e99acc70535eeff25c7652320176 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -265,7 +265,7 @@ void BreakHandler::saveBreakpoints() map.insert(_("condition"), data.condition); if (data.ignoreCount) map.insert(_("ignorecount"), data.ignoreCount); - if (data.threadSpec) + if (data.threadSpec >= 0) map.insert(_("threadspec"), data.threadSpec); if (!data.enabled) map.insert(_("disabled"), _("1"));