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,9 +562,14 @@ namespace Ryujinx.HLE.Debugger
thread.Context.DebugPc = newPc.Value;
}
thread.DebugStep();
Reply($"T05thread:{thread.ThreadUid:x};");
if (!thread.DebugStep())
{
ReplyError();
}
else
{
Reply($"T05thread:{thread.ThreadUid:x};");
}
}
private void CommandIsAlive(ulong? threadId)