forked from qt-creator/qt-creator
Debugger: Fix displaying LLDB states
Do not update states label with empty strings while debugging as this overrides real state information when performing additional actions like fetching variables, stack, and so on inside the debugger. Change-Id: Ic026644931c845b6f3fb5bb422acc6e36e4a4142 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -407,9 +407,10 @@ void LldbEngine::handleResponse(const QString &response)
|
||||
const QString name = item.name();
|
||||
if (name == "result") {
|
||||
QString msg = item["status"].data();
|
||||
if (!msg.isEmpty())
|
||||
if (!msg.isEmpty()) {
|
||||
msg[0] = msg.at(0).toUpper();
|
||||
showStatusMessage(msg);
|
||||
showStatusMessage(msg);
|
||||
}
|
||||
|
||||
int token = item["token"].toInt();
|
||||
showMessage(QString("%1^").arg(token), LogOutput);
|
||||
|
Reference in New Issue
Block a user