mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 20:20:40 +08:00
Add command to print active breakpoints
This commit is contained in:
@ -15,7 +15,11 @@ type BreakPoint struct {
|
||||
Addr uint64
|
||||
OriginalData []byte
|
||||
ID int
|
||||
temp bool
|
||||
Temp bool
|
||||
}
|
||||
|
||||
func (bp *BreakPoint) String() string {
|
||||
return fmt.Sprintf("Breakpoint %d at %#v %s:%d", bp.ID, bp.Addr, bp.File, bp.Line)
|
||||
}
|
||||
|
||||
// Returned when trying to set a breakpoint at
|
||||
|
||||
Reference in New Issue
Block a user