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

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)