Documentation ¶
Overview ¶
Package breakpoints records the breakpoints assigned to memory addresses. Also provides functions to control breakpoints on lines of source code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Breakpoints ¶
type Breakpoints struct {
// contains filtered or unexported fields
}
func NewBreakpoints ¶
func NewBreakpoints() Breakpoints
NewBreakpoints is the preferred method of initialiasation for the Breakpoints type
func (*Breakpoints) CanBreakpoint ¶
func (bp *Breakpoints) CanBreakpoint(ln *dwarf.SourceLine) bool
CanBreakpoint returns true if the specified line can have a breakpoint applied to it
func (*Breakpoints) Check ¶
func (bp *Breakpoints) Check(addr uint32) bool
HasBreakpoint returns true if there is a breakpoint on the specified line
func (*Breakpoints) HasBreakpoint ¶
func (bp *Breakpoints) HasBreakpoint(ln *dwarf.SourceLine) bool
HasBreakpoint returns true if there is a breakpoint on the specified line
func (*Breakpoints) ToggleBreakpoint ¶
func (bp *Breakpoints) ToggleBreakpoint(ln *dwarf.SourceLine)
ToggleBreakpoint adds or removes a breakpoint depending on whether the breakpoint already exists
func (*Breakpoints) Write ¶
func (bp *Breakpoints) Write(w io.Writer)
Write writes out the current callstack
Click to show internal directories.
Click to hide internal directories.