diff --git a/src/system/kernel/debug/debug.cpp b/src/system/kernel/debug/debug.cpp index 1481079949..52a0db3837 100644 --- a/src/system/kernel/debug/debug.cpp +++ b/src/system/kernel/debug/debug.cpp @@ -1811,6 +1811,8 @@ debug_trap_cpu_in_kdl(int32 cpu, bool returnIfHandedOver) sCPUTrapped[cpu] = true; while (sInDebugger != 0) { + cpu_pause(); + if (sHandOverKDL && sHandOverKDLToCPU == cpu) { if (returnIfHandedOver) break;