dbgClient

package
v0.0.0-...-076f285 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

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

type Client struct {
	File string
	Args []string
	// contains filtered or unexported fields
}

func (*Client) BlockUntilReady

func (c *Client) BlockUntilReady()

func (*Client) ClearAllBreakpoints

func (c *Client) ClearAllBreakpoints()

func (*Client) ClearBreakpoint

func (c *Client) ClearBreakpoint(id int) error

func (*Client) ClearBreakpointByName

func (c *Client) ClearBreakpointByName(name string) error

func (*Client) Continue

func (c *Client) Continue() <-chan *DebuggerState

func (*Client) CreateBreakpointAtLine

func (c *Client) CreateBreakpointAtLine(file string, line int, name string) (*Breakpoint, error)

func (*Client) CreateBreakpointAtPC

func (c *Client) CreateBreakpointAtPC(pc uint64)

PC: Program counter

func (*Client) Detach

func (c *Client) Detach(kill bool) error

func (*Client) EvalVariable

func (c *Client) EvalVariable(scope EvalScope, expr string, cfg LoadConfig) (*Variable, error)

func (*Client) FindLocation

func (c *Client) FindLocation(scope EvalScope, location string) ([]Location, error)

func (*Client) GetState

func (c *Client) GetState() (*DebuggerState, error)

func (*Client) GetStderr

func (c *Client) GetStderr() (io.ReadCloser, error)

func (*Client) GetStdout

func (c *Client) GetStdout() (io.ReadCloser, error)

func (*Client) Kill

func (c *Client) Kill()

func (*Client) Killed

func (c *Client) Killed() bool

func (*Client) ListAllBreakpoints

func (c *Client) ListAllBreakpoints() ([]*Breakpoint, error)

func (*Client) ListGoroutines

func (c *Client) ListGoroutines() ([]*Goroutine, error)

func (*Client) ListLocalVariables

func (c *Client) ListLocalVariables(scope EvalScope, cfg LoadConfig) ([]Variable, error)

func (*Client) ListSources

func (c *Client) ListSources() ([]string, error)

func (*Client) ListThreads

func (c *Client) ListThreads() ([]*Thread, error)

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) Start

func (c *Client) Start(config config.Config)

func (*Client) Starting

func (c *Client) Starting() bool

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 EvalScope

type EvalScope api.EvalScope

type Goroutine

type Goroutine api.Goroutine

type LoadConfig

type LoadConfig api.LoadConfig

type Location

type Location api.Location

type ProcessState

type ProcessState int32

type Stackframe

type Stackframe api.Stackframe

type Thread

type Thread api.Thread

type Variable

type Variable api.Variable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL