debugger: in the qmldebugger, draw location marker _above_ breakpoints

This commit is contained in:
hjk
2011-01-19 18:53:04 +01:00
parent 78b06e7cac
commit 77afdb42af
2 changed files with 5 additions and 3 deletions

View File

@@ -675,7 +675,7 @@ void QmlEngine::messageReceived(const QByteArray &message)
stream >> command;
if (command == "STOPPED") {
qDebug() << command << this << state();
//qDebug() << command << this << state();
if (state() == InferiorRunOk)
notifyInferiorSpontaneousStop();
@@ -693,7 +693,6 @@ void QmlEngine::messageReceived(const QByteArray &message)
for (int i = 0; i != stackFrames.size(); ++i)
stackFrames[i].level = i + 1;
gotoLocation(stackFrames.value(0));
stackHandler()->setFrames(stackFrames);
watchHandler()->beginCycle();
@@ -773,6 +772,10 @@ void QmlEngine::messageReceived(const QByteArray &message)
logMessage(LogReceive, logString);
}
if (!stackFrames.isEmpty())
gotoLocation(stackFrames.value(0));
} else if (command == "RESULT") {
WatchData data;
QByteArray iname;