Debugger: Remove a soft assert in a valid LLDB code path

Pending breakpoints have zero resolved locations.

Change-Id: I18cecfabe8dcfebb7733030a404f75603464d157
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2014-11-17 13:09:36 +01:00
parent 8871f0b36b
commit 6d482bafec

View File

@@ -676,7 +676,8 @@ void LldbEngine::updateBreakpointData(const GdbMi &bkpt, bool added)
response.address = location["addr"].toAddress(); response.address = location["addr"].toAddress();
response.functionName = location["func"].toUtf8(); response.functionName = location["func"].toUtf8();
} else { } else {
QTC_CHECK(false); // This can happen for pending breakpoints.
showMessage(_("NO LOCATIONS (YET) FOR BP %1").arg(response.toString()));
} }
handler->setResponse(id, response); handler->setResponse(id, response);
if (added) if (added)