Fix typo in the comment
authorEugene Zemtsov <e.zemtsov@gmail.com>
Thu, 9 Apr 2015 09:00:38 +0000 (02:00 -0700)
committerEugene Zemtsov <e.zemtsov@gmail.com>
Thu, 9 Apr 2015 09:00:38 +0000 (02:00 -0700)
src/vm/exceptionhandling.cpp

index 3e80187..fc7082e 100644 (file)
@@ -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);