mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 21:38:52 +00:00
stepping works now
This commit is contained in:
parent
2c37375906
commit
7d99174bba
2 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue