From 1246154e831ebb1c89724f126a4e7e4fa068345b Mon Sep 17 00:00:00 2001 From: Thays Grazia Date: Mon, 5 Aug 2024 22:47:31 -0300 Subject: [PATCH] Adding comment suggested by Noah (#105999) --- src/coreclr/vm/exceptionhandling.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/vm/exceptionhandling.cpp b/src/coreclr/vm/exceptionhandling.cpp index 303c5c6d83ced..191367f0a816e 100644 --- a/src/coreclr/vm/exceptionhandling.cpp +++ b/src/coreclr/vm/exceptionhandling.cpp @@ -5433,6 +5433,8 @@ BOOL IsSafeToHandleHardwareException(PCONTEXT contextRecord, PEXCEPTION_RECORD e exceptionRecord->ExceptionCode != STATUS_SINGLE_STEP && exceptionRecord->ExceptionCode != STATUS_STACK_OVERFLOW) { + // tried to consolidate the code and only call HandleSingleStep here but + // for some reason not investigated the debugger tests failed with this change pThread->HandleSingleStep(contextRecord, exceptionRecord->ExceptionCode); } #endif