service/debugger: Do not preserve temp breakpoints on restart
This commit is contained in:
parent
326e65efbc
commit
e3e13dc672
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user