Reply with an error if we fail to step

This commit is contained in:
svc64 2023-10-06 17:24:58 +03:00
parent 6ecc829516
commit 5e65fd8808
1 changed files with 8 additions and 3 deletions

View File

@ -562,10 +562,15 @@ namespace Ryujinx.HLE.Debugger
thread.Context.DebugPc = newPc.Value; thread.Context.DebugPc = newPc.Value;
} }
thread.DebugStep(); if (!thread.DebugStep())
{
ReplyError();
}
else
{
Reply($"T05thread:{thread.ThreadUid:x};"); Reply($"T05thread:{thread.ThreadUid:x};");
} }
}
private void CommandIsAlive(ulong? threadId) private void CommandIsAlive(ulong? threadId)
{ {