This commit is contained in:
kudzu_cp 2011-02-25 02:53:36 +00:00
parent 4c78926b3c
commit d3744b6053
2 changed files with 18 additions and 6 deletions

View file

@ -404,6 +404,18 @@ namespace Cosmos.Compiler.DebugStub {
Jump("DebugStub_Break_Exit");
Label = "DebugStub_Break_StepInto_After";
AL.Compare(Command.StepOver);
JumpIf(Flags.NotEqual, "DebugStub_Break_StepOver_After");
Memory["DebugBreakOnNextTrace", 32] = 1;
Jump("DebugStub_Break_Exit");
Label = "DebugStub_Break_StepOver_After";
AL.Compare(Command.StepOut);
JumpIf(Flags.NotEqual, "DebugStub_Break_StepOut_After");
Memory["DebugBreakOnNextTrace", 32] = 1;
Jump("DebugStub_Break_Exit");
Label = "DebugStub_Break_StepOut_After";
// Loop around and wait for another command
Jump("DebugStub_WaitCmd");

View file

@ -445,14 +445,14 @@ namespace Cosmos.Debug.VSDebugEngine {
mDbgConnector.SendCommand(Command.StepInto);
} else if (aKind == enum_STEPKIND.STEP_OVER) { // F10
//mDbgConnector.SendCommand(Command.StepOver);
MessageBox.Show("F10 Step Over is not supported yet.");
mCallback.OnStepComplete(); // Have to call this otherwise VS gets "stuck"
mDbgConnector.SendCommand(Command.StepOver);
//MessageBox.Show("F10 Step Over is not supported yet.");
//mCallback.OnStepComplete(); // Have to call this otherwise VS gets "stuck"
} else if (aKind == enum_STEPKIND.STEP_OUT) { // Shift-F11
//mDbgConnector.SendCommand(Command.StepOut);
MessageBox.Show("Shift-F11 Step Out is not supported yet.");
mCallback.OnStepComplete(); // Have to call this otherwise VS gets "stuck"
mDbgConnector.SendCommand(Command.StepOut);
//MessageBox.Show("Shift-F11 Step Out is not supported yet.");
//mCallback.OnStepComplete(); // Have to call this otherwise VS gets "stuck"
} else if (aKind == enum_STEPKIND.STEP_BACKWARDS) {
// STEP_BACKWARDS - Supported at all by VS?