DBG: fixed animation + updated translations
This commit is contained in:
parent
9d609dd5ae
commit
5ff22566ba
|
@ -10,7 +10,7 @@ static DWORD WINAPI animateThread(void* arg1)
|
|||
while(animate_command[0] != 0)
|
||||
{
|
||||
auto beforeTime = GetTickCount();
|
||||
if(_dbg_dbgcmdexec(animate_command) != true)
|
||||
if(!DbgCmdExecDirect(animate_command))
|
||||
// An error occurs
|
||||
break;
|
||||
auto currentTime = GetTickCount();
|
||||
|
|
|
@ -182,7 +182,7 @@ CMDRESULT cbDebugSerun(int argc, char* argv[])
|
|||
|
||||
static bool skipInt3Stepping(int argc, char* argv[])
|
||||
{
|
||||
if(!bSkipInt3Stepping)
|
||||
if(!bSkipInt3Stepping || dbgisrunning())
|
||||
return false;
|
||||
duint cip = GetContextDataEx(hActiveThread, UE_CIP);
|
||||
unsigned char ch;
|
||||
|
@ -519,18 +519,20 @@ CMDRESULT cbDebugBenchmark(int argc, char* argv[])
|
|||
|
||||
CMDRESULT cbDebugPause(int argc, char* argv[])
|
||||
{
|
||||
if(_dbg_isanimating())
|
||||
{
|
||||
_dbg_animatestop(); // pause when animating
|
||||
return STATUS_CONTINUE;
|
||||
}
|
||||
if(!DbgIsDebugging())
|
||||
{
|
||||
dputs(QT_TRANSLATE_NOOP("DBG", "Not debugging!"));
|
||||
return STATUS_ERROR;
|
||||
}
|
||||
if(!dbgisrunning())
|
||||
{
|
||||
if(_dbg_isanimating())
|
||||
{
|
||||
_dbg_animatestop(); // pause when animating
|
||||
return STATUS_CONTINUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
dputs(QT_TRANSLATE_NOOP("DBG", "Program is not running"));
|
||||
return STATUS_ERROR;
|
||||
}
|
||||
dputs(QT_TRANSLATE_NOOP("DBG", "Program is not running"));
|
||||
return STATUS_ERROR;
|
||||
}
|
||||
if(SuspendThread(hActiveThread) == -1)
|
||||
{
|
||||
|
|
|
@ -87,7 +87,7 @@ static void registercommands()
|
|||
dbgcmdnew("run\1go\1r\1g", cbDebugRun2, true); //unlock WAITID_RUN
|
||||
dbgcmdnew("erun\1egun\1er\1eg", cbDebugErun, true); //run + skip first chance exceptions
|
||||
dbgcmdnew("serun\1sego", cbDebugSerun, true); //run + swallow exception
|
||||
dbgcmdnew("pause", cbDebugPause, true); //pause debugger
|
||||
dbgcmdnew("pause", cbDebugPause, false); //pause debugger
|
||||
dbgcmdnew("StepInto\1sti", cbDebugStepInto, true); //StepInto
|
||||
dbgcmdnew("eStepInto\1esti", cbDebugeStepInto, true); //StepInto + skip first chance exceptions
|
||||
dbgcmdnew("seStepInto\1sesti", cbDebugseStepInto, true); //StepInto + swallow exception
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 42cfc5567edd52cfdad85f68a2be6822c6b37d65
|
||||
Subproject commit 6a368ed8d622184ed0d421a4d3ba38e09df32094
|
Loading…
Reference in New Issue