diff --git a/src/Ryujinx.HLE/Debugger/Debugger.cs b/src/Ryujinx.HLE/Debugger/Debugger.cs index 015fbf8fb..7a626b840 100644 --- a/src/Ryujinx.HLE/Debugger/Debugger.cs +++ b/src/Ryujinx.HLE/Debugger/Debugger.cs @@ -548,6 +548,7 @@ namespace Ryujinx.HLE.Debugger if (!BreakpointManager.SetBreakPoint(addr, len, false)) { ReplyError(); + return; } ReplyOK(); return; @@ -583,6 +584,7 @@ namespace Ryujinx.HLE.Debugger if (!BreakpointManager.ClearBreakPoint(addr, len)) { ReplyError(); + return; } ReplyOK(); return; @@ -693,7 +695,7 @@ namespace Ryujinx.HLE.Debugger // If we receive "vCont;c", just continue the process. // If we receive something like "vCont;c:2e;c:2f" (IDA Pro will send commands like this), continue these threads. - // For "vCont;s:2f;c", we only step thread 2f, and do not continue other threads. (Is this correct?) + // For "vCont;s:2f;c", `DebugProcess.DebugStep()` will continue and suspend other threads if needed, so we don't do anything here. if (threadActionMap.Values.All(a => a.Action == VContAction.Continue)) { DebugProcess.DebugContinue();