提交 fa9fe1a6 编写于 作者: D Derek Parker

Improve RequestManualStop

上级 da688b81
......@@ -173,6 +173,10 @@ func (dbp *DebuggedProcess) RequestManualStop() error {
if err != nil {
return err
}
err = dbp.Halt()
if err != nil {
return err
}
dbp.running = false
return nil
}
......
......@@ -107,7 +107,7 @@ func TestHalt(t *testing.T) {
for _, th := range p.Threads {
_, err := th.Registers()
if err != nil {
t.Error(err)
t.Error(err, th.Id)
}
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册