fix stepping a little better than last time

This commit is contained in:
Peter Tissen 2014-02-14 20:50:02 +01:00
parent 8bf8c7e6e9
commit f179bd4cd7
3 changed files with 7 additions and 4 deletions

View file

@ -284,8 +284,10 @@ void CPUThread::ExecOnce()
#ifndef QT_UI
wxGetApp().SendDbgCommand(DID_EXEC_THREAD, this);
#endif
m_status = Running;
ThreadBase::Start();
ThreadBase::Stop();
ThreadBase::Stop(true,false);
m_status = Paused;
#ifndef QT_UI
wxGetApp().SendDbgCommand(DID_PAUSE_THREAD, this);
wxGetApp().SendDbgCommand(DID_PAUSED_THREAD, this);