stepping works now

This commit is contained in:
mterwoord_cp 2010-01-24 10:56:47 +00:00
parent 2c37375906
commit 7d99174bba
2 changed files with 8 additions and 0 deletions

View file

@ -498,6 +498,7 @@ namespace Cosmos.Debug.VSDebugEngine
}
// m_debuggedProcess.Terminate();
mProcess.Terminate();
m_engineCallback.OnProcessExit(0);
return VSConstants.S_OK;
@ -703,6 +704,7 @@ namespace Cosmos.Debug.VSDebugEngine
public int Step(IDebugThread2 pThread, uint sk, uint Step)
{
Trace.WriteLine(new StackTrace(false).GetFrame(0).GetMethod().GetFullName());
mProcess.Step();
return VSConstants.S_OK;
}

View file

@ -222,6 +222,7 @@ namespace Cosmos.Debug.VSDebugEngine
public int Terminate()
{
mProcess.Kill();
return VSConstants.S_OK;
}
@ -253,5 +254,10 @@ namespace Cosmos.Debug.VSDebugEngine
mCurrentAddress = null;
mDebugEngine.DebugConnector.SendCommand((byte)Command.Break);
}
internal void Step()
{
mDebugEngine.DebugConnector.SendCommand((byte)Command.Step);
}
}
}