debugger: use a 80ms timer to actually remode the location marker

This removes the remove/set flicker in most single stepping cases.
This commit is contained in:
hjk
2010-11-23 16:42:46 +01:00
parent 73e4cce7aa
commit 0d07a4abc0
2 changed files with 65 additions and 34 deletions

View File

@@ -1797,9 +1797,6 @@ void GdbEngine::autoContinueInferior()
void GdbEngine::continueInferior()
{
QTC_ASSERT(state() == InferiorStopOk, qDebug() << state());
// Not doing it here makes it appear "snappier" as the time
// when there is no location marker is shorter.
//resetLocation();
setTokenBarrier();
continueInferiorInternal();
}
@@ -3016,7 +3013,6 @@ void GdbEngine::handleStackListFrames(const GdbResponse &response)
void GdbEngine::activateFrame(int frameIndex)
{
//resetLocation();
if (state() != InferiorStopOk && state() != InferiorUnrunnable)
return;