debugserver

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidGDBServerPayload = errors.New("invalid payload")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(udid string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Conn

func (c *Client) Conn() net.Conn

func (*Client) Recv added in v0.0.2

func (c *Client) Recv() (string, error)

func (*Client) Request added in v0.0.2

func (c *Client) Request(req string) (string, error)

func (*Client) Send added in v0.0.2

func (c *Client) Send(req string) error

type EventOutput added in v0.0.2

type EventOutput struct {
	// contains filtered or unexported fields
}

type EventThread added in v0.0.2

type EventThread struct{}

type GDBServer added in v0.0.2

type GDBServer struct {
	// contains filtered or unexported fields
}

func NewGDBServer added in v0.0.2

func NewGDBServer(rw io.ReadWriter) *GDBServer

Implements wire level GDBServer protocol

func (*GDBServer) Recv added in v0.0.2

func (g *GDBServer) Recv() (string, error)

func (*GDBServer) Request added in v0.0.2

func (g *GDBServer) Request(req string) (string, error)

func (*GDBServer) Send added in v0.0.2

func (g *GDBServer) Send(req string) error

type Process added in v0.0.2

type Process struct {
	// contains filtered or unexported fields
}

func NewProcess added in v0.0.2

func NewProcess(udid string, args []string) (*Process, error)

func (*Process) Args added in v0.0.2

func (p *Process) Args() []string

func (*Process) Continue added in v0.0.2

func (p *Process) Continue() error

func (*Process) Interrupt added in v0.0.2

func (p *Process) Interrupt() error

func (*Process) Kill added in v0.0.2

func (p *Process) Kill() error

func (*Process) Start added in v0.0.2

func (p *Process) Start() error

func (*Process) Stdout added in v0.0.2

func (p *Process) Stdout() io.Reader

func (*Process) WaitByName added in v0.0.2

func (p *Process) WaitByName(name string) error

Jump to

Keyboard shortcuts

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