diff options
-rw-r--r-- | src/vm/exceptionhandling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp index 3e80187734..fc7082ee0f 100644 --- a/src/vm/exceptionhandling.cpp +++ b/src/vm/exceptionhandling.cpp @@ -4657,7 +4657,7 @@ VOID PALAPI HandleHardwareException(PAL_SEHException* ex) { if (ex->ExceptionRecord.ExceptionCode == STATUS_BREAKPOINT) { - // If this is breakpoint context is set up to point to an instruction after the break instruction. + // If this is breakpoint context, it is set up to point to an instruction after the break instruction. // But debugger expects to see context that points to the break instruction, that's why we correct it. SetIP(&ex->ContextRecord, GetIP(&ex->ContextRecord) - CORDbg_BREAK_INSTRUCTION_SIZE); ex->ExceptionRecord.ExceptionAddress = (void *)GetIP(&ex->ContextRecord); |