forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user