Commit 6d482baf authored by hjk's avatar hjk
Browse files

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



Pending breakpoints have zero resolved locations.

Change-Id: I18cecfabe8dcfebb7733030a404f75603464d157
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 8871f0b3
......@@ -676,7 +676,8 @@ void LldbEngine::updateBreakpointData(const GdbMi &bkpt, bool added)
response.address = location["addr"].toAddress();
response.functionName = location["func"].toUtf8();
} else {
QTC_CHECK(false);
// This can happen for pending breakpoints.
showMessage(_("NO LOCATIONS (YET) FOR BP %1").arg(response.toString()));
}
handler->setResponse(id, response);
if (added)
......
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