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

service/debugger: Do not preserve temp breakpoints on restart

上级 326e65ef
......@@ -92,7 +92,10 @@ func (d *Debugger) Restart() error {
if err != nil {
return fmt.Errorf("could not launch process: %s", err)
}
for addr, _ := range d.process.Breakpoints {
for addr, bp := range d.process.Breakpoints {
if bp.Temp {
continue
}
if _, err := p.SetBreakpoint(addr); err != nil {
return err
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册