Debugger: Show shadowed variables with LLDB

Change-Id: If93547396384fe5b421c4b601b52476a23cdfa89
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
hjk
2013-10-25 13:35:31 +02:00
parent 7079a835a0
commit 0190eb59f9
2 changed files with 23 additions and 16 deletions

View File

@@ -836,15 +836,14 @@ void LldbEngine::readLldbStandardError()
void LldbEngine::readLldbStandardOutput()
{
QByteArray out = m_lldbProc.readAllStandardOutput();
//showMessage(_("Lldb stdout: " + out));
showMessage(_(out), LogDebug);
showMessage(_("Lldb stdout: " + out));
m_inbuffer.append(out);
while (true) {
int pos = m_inbuffer.indexOf("@\n");
int pos = m_inbuffer.indexOf('\n');
if (pos == -1)
break;
QByteArray response = m_inbuffer.left(pos).trimmed();
m_inbuffer = m_inbuffer.mid(pos + 2);
m_inbuffer = m_inbuffer.mid(pos + 1);
emit outputReady(response);
}
}