DBG: don't refresh the GUI unnecessarily
This commit is contained in:
parent
ea66b8bd51
commit
3951719a12
|
@ -183,12 +183,12 @@ static DWORD WINAPI dumpRefreshThread(void* ptr)
|
||||||
{
|
{
|
||||||
if(bStopDumpRefreshThread)
|
if(bStopDumpRefreshThread)
|
||||||
break;
|
break;
|
||||||
Sleep(10);
|
Sleep(100);
|
||||||
}
|
}
|
||||||
if(bStopDumpRefreshThread)
|
if(bStopDumpRefreshThread)
|
||||||
break;
|
break;
|
||||||
GuiUpdateDumpView();
|
GuiUpdateDumpView();
|
||||||
Sleep(200);
|
Sleep(400);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -414,7 +414,6 @@ void DebugUpdateGui(duint disasm_addr, bool stack)
|
||||||
strcat_s(threadName, " ");
|
strcat_s(threadName, " ");
|
||||||
sprintf_s(title, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "File: %s - PID: %X - %sThread: %s%X%s")), szBaseFileName, fdProcessInfo->dwProcessId, modtext, threadName, currentThreadId, threadswitch);
|
sprintf_s(title, GuiTranslateText(QT_TRANSLATE_NOOP("DBG", "File: %s - PID: %X - %sThread: %s%X%s")), szBaseFileName, fdProcessInfo->dwProcessId, modtext, threadName, currentThreadId, threadswitch);
|
||||||
GuiUpdateWindowTitle(title);
|
GuiUpdateWindowTitle(title);
|
||||||
GuiUpdateAllViews();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebugUpdateGuiSetState(duint disasm_addr, bool stack, DBGSTATE state = paused)
|
void DebugUpdateGuiSetState(duint disasm_addr, bool stack, DBGSTATE state = paused)
|
||||||
|
|
Loading…
Reference in New Issue