Add command to print active breakpoints

This commit is contained in:
Derek Parker
2015-03-06 08:01:41 -06:00
parent 464a6b96fe
commit 0b3cf1cd15
5 changed files with 42 additions and 4 deletions

View File

@ -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