mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
Two bugfixes regarding stale executable files, and executables changing between restarts (#689)
* service/debugger: Restore breakpoints using file:line on restart Restoring by address can cause the breakpoint to be inserted in the middle of an instruction if the executable file has changed. * terminal: Warn of stale executable when printing source
This commit is contained in:
committed by
Derek Parker
parent
8f0646e426
commit
f4aaffbbf3
@ -313,3 +313,8 @@ func (regs Registers) String() string {
|
||||
}
|
||||
return buf.String()
|
||||
}
|
||||
|
||||
type DiscardedBreakpoint struct {
|
||||
Breakpoint *Breakpoint
|
||||
Reason error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user