From 322930425077d6f7ddca9ee327825029c9799bf0 Mon Sep 17 00:00:00 2001 From: Eugene Zemtsov Date: Thu, 9 Apr 2015 02:00:38 -0700 Subject: Fix typo in the comment --- src/vm/exceptionhandling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vm') 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); -- cgit v1.2.3