From 795c01d197bc7ebaec6b554d2e60dc5299715730 Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Sun, 26 Jun 2011 23:23:50 +0000 Subject: [PATCH] --- .../Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs b/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs index 9f67b49c7..b7b1d541d 100644 --- a/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs +++ b/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7Process.cs @@ -350,17 +350,17 @@ namespace Cosmos.Debug.VSDebugEngine { if (mEngine.AfterBreak) { mCallback.OnStepComplete(); } else { - // Code based break. Tell VS to break. - mCallback.OnBreakpoint(mThread, new ReadOnlyCollection(xBoundBreakpoints)); // We catch and resend data rather than using a second serial port because // while this would work fine in a VM, it puts extra requirements on the setup // when real hardware is used. mDbgConnector.SendRegisters(); + // Code based break. Tell VS to break. + mCallback.OnBreakpoint(mThread, new ReadOnlyCollection(xBoundBreakpoints)); } } else { // Found a bound breakpoint - mCallback.OnBreakpoint(mThread, new ReadOnlyCollection(xBoundBreakpoints)); mDbgConnector.SendRegisters(); + mCallback.OnBreakpoint(mThread, new ReadOnlyCollection(xBoundBreakpoints)); mEngine.AfterBreak = true; } break;