Documentation ¶
Index ¶
- Constants
- type Breakpoint
- type Client
- func (c *Client) BlockUntilReady()
- func (c *Client) ClearAllBreakpoints()
- func (c *Client) ClearBreakpoint(id int) error
- func (c *Client) ClearBreakpointByName(name string) error
- func (c *Client) Continue() <-chan *DebuggerState
- func (c *Client) CreateBreakpointAtLine(file string, line int, name string) (*Breakpoint, error)
- func (c *Client) CreateBreakpointAtPC(pc uint64)
- func (c *Client) Detach(kill bool) error
- func (c *Client) EvalVariable(scope EvalScope, expr string, cfg LoadConfig) (*Variable, error)
- func (c *Client) FindLocation(scope EvalScope, location string) ([]Location, error)
- func (c *Client) GetState() (*DebuggerState, error)
- func (c *Client) GetStderr() (io.ReadCloser, error)
- func (c *Client) GetStdout() (io.ReadCloser, error)
- func (c *Client) Kill()
- func (c *Client) Killed() bool
- func (c *Client) ListAllBreakpoints() ([]*Breakpoint, error)
- func (c *Client) ListGoroutines() ([]*Goroutine, error)
- func (c *Client) ListLocalVariables(scope EvalScope, cfg LoadConfig) ([]Variable, error)
- func (c *Client) ListSources() ([]string, error)
- func (c *Client) ListThreads() ([]*Thread, error)
- func (c *Client) Next() (*DebuggerState, error)
- func (c *Client) Stacktrace(goroutineID int, depth int, cfg *LoadConfig) ([]Stackframe, error)
- func (c *Client) Start(config config.Config)
- func (c *Client) Starting() bool
- func (c *Client) Step() (*DebuggerState, error)
- func (c *Client) StepOut() (*DebuggerState, error)
- func (c *Client) SwitchGoroutine(goroutineID int) (*DebuggerState, error)
- func (c *Client) SwitchThread(threadID int) (*DebuggerState, error)
- type DebuggerState
- type EvalScope
- type Goroutine
- type LoadConfig
- type Location
- type ProcessState
- type Stackframe
- type Thread
- type Variable
Constants ¶
View Source
const ( StartingState = iota RunningState KilledState )
View Source
const API_PORT_LISTENING_STRING string = "API server listening at: 127.0.0.1:%d\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Breakpoint ¶
type Breakpoint api.Breakpoint
type Client ¶
func (*Client) BlockUntilReady ¶
func (c *Client) BlockUntilReady()
func (*Client) ClearAllBreakpoints ¶
func (c *Client) ClearAllBreakpoints()
func (*Client) ClearBreakpoint ¶
func (*Client) ClearBreakpointByName ¶
func (*Client) Continue ¶
func (c *Client) Continue() <-chan *DebuggerState
func (*Client) CreateBreakpointAtLine ¶
func (*Client) CreateBreakpointAtPC ¶
PC: Program counter
func (*Client) EvalVariable ¶
func (*Client) FindLocation ¶
func (*Client) GetState ¶
func (c *Client) GetState() (*DebuggerState, error)
func (*Client) ListAllBreakpoints ¶
func (c *Client) ListAllBreakpoints() ([]*Breakpoint, error)
func (*Client) ListGoroutines ¶
func (*Client) ListLocalVariables ¶
func (c *Client) ListLocalVariables(scope EvalScope, cfg LoadConfig) ([]Variable, error)
func (*Client) ListSources ¶
func (*Client) ListThreads ¶
func (*Client) Next ¶
func (c *Client) Next() (*DebuggerState, error)
func (*Client) Stacktrace ¶
func (c *Client) Stacktrace(goroutineID int, depth int, cfg *LoadConfig) ([]Stackframe, error)
func (*Client) Step ¶
func (c *Client) Step() (*DebuggerState, error)
func (*Client) StepOut ¶
func (c *Client) StepOut() (*DebuggerState, error)
func (*Client) SwitchGoroutine ¶
func (c *Client) SwitchGoroutine(goroutineID int) (*DebuggerState, error)
func (*Client) SwitchThread ¶
func (c *Client) SwitchThread(threadID int) (*DebuggerState, error)
type DebuggerState ¶
type DebuggerState api.DebuggerState
type LoadConfig ¶
type LoadConfig api.LoadConfig
type ProcessState ¶
type ProcessState int32
type Stackframe ¶
type Stackframe api.Stackframe
Click to show internal directories.
Click to hide internal directories.