mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
This commit is contained in:
parent
54abcb5266
commit
795c01d197
1 changed files with 3 additions and 3 deletions
|
|
@ -350,17 +350,17 @@ namespace Cosmos.Debug.VSDebugEngine {
|
||||||
if (mEngine.AfterBreak) {
|
if (mEngine.AfterBreak) {
|
||||||
mCallback.OnStepComplete();
|
mCallback.OnStepComplete();
|
||||||
} else {
|
} else {
|
||||||
// Code based break. Tell VS to break.
|
|
||||||
mCallback.OnBreakpoint(mThread, new ReadOnlyCollection<IDebugBoundBreakpoint2>(xBoundBreakpoints));
|
|
||||||
// We catch and resend data rather than using a second serial port because
|
// 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
|
// while this would work fine in a VM, it puts extra requirements on the setup
|
||||||
// when real hardware is used.
|
// when real hardware is used.
|
||||||
mDbgConnector.SendRegisters();
|
mDbgConnector.SendRegisters();
|
||||||
|
// Code based break. Tell VS to break.
|
||||||
|
mCallback.OnBreakpoint(mThread, new ReadOnlyCollection<IDebugBoundBreakpoint2>(xBoundBreakpoints));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Found a bound breakpoint
|
// Found a bound breakpoint
|
||||||
mCallback.OnBreakpoint(mThread, new ReadOnlyCollection<IDebugBoundBreakpoint2>(xBoundBreakpoints));
|
|
||||||
mDbgConnector.SendRegisters();
|
mDbgConnector.SendRegisters();
|
||||||
|
mCallback.OnBreakpoint(mThread, new ReadOnlyCollection<IDebugBoundBreakpoint2>(xBoundBreakpoints));
|
||||||
mEngine.AfterBreak = true;
|
mEngine.AfterBreak = true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue