Documentation ¶
Index ¶
- type DisassembleRequest
- type EvalSymbolArgs
- type FindLocationArgs
- type RPCClient
- func (c *RPCClient) AmendBreakpoint(bp *api.Breakpoint) error
- func (c *RPCClient) AttachedToExistingProcess() bool
- func (c *RPCClient) Call(expr string) (*api.DebuggerState, error)
- func (c *RPCClient) CancelNext() error
- func (c *RPCClient) ClearBreakpoint(id int) (*api.Breakpoint, error)
- func (c *RPCClient) ClearBreakpointByName(name string) (*api.Breakpoint, error)
- func (c *RPCClient) Continue() <-chan *api.DebuggerState
- func (c *RPCClient) CreateBreakpoint(breakPoint *api.Breakpoint) (*api.Breakpoint, error)
- func (c *RPCClient) Detach(kill bool) error
- func (c *RPCClient) DisassemblePC(scope api.EvalScope, pc uint64, flavour api.AssemblyFlavour) (api.AsmInstructions, error)
- func (c *RPCClient) DisassembleRange(scope api.EvalScope, startPC, endPC uint64, flavour api.AssemblyFlavour) (api.AsmInstructions, error)
- func (c *RPCClient) EvalVariable(scope api.EvalScope, symbol string) (*api.Variable, error)
- func (c *RPCClient) FindLocation(scope api.EvalScope, loc string) ([]api.Location, error)
- func (c *RPCClient) GetBreakpoint(id int) (*api.Breakpoint, error)
- func (c *RPCClient) GetBreakpointByName(name string) (*api.Breakpoint, error)
- func (c *RPCClient) GetState() (*api.DebuggerState, error)
- func (c *RPCClient) GetThread(id int) (*api.Thread, error)
- func (c *RPCClient) Halt() (*api.DebuggerState, error)
- func (c *RPCClient) ListBreakpoints() ([]*api.Breakpoint, error)
- func (c *RPCClient) ListFunctionArgs(scope api.EvalScope) ([]api.Variable, error)
- func (c *RPCClient) ListFunctions(filter string) ([]string, error)
- func (c *RPCClient) ListGoroutines() ([]*api.Goroutine, error)
- func (c *RPCClient) ListLocalVariables(scope api.EvalScope) ([]api.Variable, error)
- func (c *RPCClient) ListPackageVariables(filter string) ([]api.Variable, error)
- func (c *RPCClient) ListPackageVariablesFor(threadID int, filter string) ([]api.Variable, error)
- func (c *RPCClient) ListRegisters() (string, error)
- func (c *RPCClient) ListSources(filter string) ([]string, error)
- func (c *RPCClient) ListThreads() ([]*api.Thread, error)
- func (c *RPCClient) ListTypes(filter string) ([]string, error)
- func (c *RPCClient) Next() (*api.DebuggerState, error)
- func (c *RPCClient) ProcessPid() int
- func (c *RPCClient) Restart() error
- func (c *RPCClient) SetVariable(scope api.EvalScope, symbol, value string) error
- func (c *RPCClient) Stacktrace(goroutineId, depth int, full bool) ([]api.Stackframe, error)
- func (c *RPCClient) Step() (*api.DebuggerState, error)
- func (c *RPCClient) StepInstruction() (*api.DebuggerState, error)
- func (c *RPCClient) SwitchGoroutine(goroutineID int) (*api.DebuggerState, error)
- func (c *RPCClient) SwitchThread(threadID int) (*api.DebuggerState, error)
- type RPCServer
- func (s *RPCServer) AmendBreakpoint(amend *api.Breakpoint, unused *int) error
- func (c *RPCServer) AttachedToExistingProcess(arg interface{}, answer *bool) error
- func (s *RPCServer) ClearBreakpoint(id int, breakpoint *api.Breakpoint) error
- func (s *RPCServer) ClearBreakpointByName(name string, breakpoint *api.Breakpoint) error
- func (s *RPCServer) Command(command *api.DebuggerCommand, cb service.RPCCallback)
- func (s *RPCServer) CreateBreakpoint(bp, newBreakpoint *api.Breakpoint) error
- func (s *RPCServer) Detach(kill bool, ret *int) error
- func (c *RPCServer) Disassemble(args DisassembleRequest, answer *api.AsmInstructions) error
- func (s *RPCServer) EvalSymbol(args EvalSymbolArgs, variable *api.Variable) error
- func (c *RPCServer) FindLocation(args FindLocationArgs, answer *[]api.Location) error
- func (s *RPCServer) GetBreakpoint(id int, breakpoint *api.Breakpoint) error
- func (s *RPCServer) GetBreakpointByName(name string, breakpoint *api.Breakpoint) error
- func (s *RPCServer) GetThread(id int, thread *api.Thread) error
- func (s *RPCServer) ListBreakpoints(arg interface{}, breakpoints *[]*api.Breakpoint) error
- func (s *RPCServer) ListFunctionArgs(scope api.EvalScope, variables *[]api.Variable) error
- func (s *RPCServer) ListFunctions(filter string, funcs *[]string) error
- func (s *RPCServer) ListGoroutines(arg interface{}, goroutines *[]*api.Goroutine) error
- func (s *RPCServer) ListLocalVars(scope api.EvalScope, variables *[]api.Variable) error
- func (s *RPCServer) ListPackageVars(filter string, variables *[]api.Variable) error
- func (s *RPCServer) ListRegisters(arg interface{}, registers *string) error
- func (s *RPCServer) ListSources(filter string, sources *[]string) error
- func (s *RPCServer) ListThreadPackageVars(args *ThreadListArgs, variables *[]api.Variable) error
- func (s *RPCServer) ListThreads(arg interface{}, threads *[]*api.Thread) (err error)
- func (s *RPCServer) ListTypes(filter string, types *[]string) error
- func (s *RPCServer) ProcessPid(arg1 interface{}, pid *int) error
- func (s *RPCServer) Restart(arg1 interface{}, arg2 *int) error
- func (s *RPCServer) SetSymbol(args SetSymbolArgs, unused *int) error
- func (s *RPCServer) StacktraceGoroutine(args *StacktraceGoroutineArgs, locations *[]api.Stackframe) error
- func (s *RPCServer) State(arg interface{}, state *api.DebuggerState) error
- type SetSymbolArgs
- type StacktraceGoroutineArgs
- type ThreadListArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisassembleRequest ¶
type DisassembleRequest struct { Scope api.EvalScope StartPC, EndPC uint64 Flavour api.AssemblyFlavour }
type EvalSymbolArgs ¶
type FindLocationArgs ¶
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
Client is a RPC service.Client.
func (*RPCClient) AmendBreakpoint ¶
func (c *RPCClient) AmendBreakpoint(bp *api.Breakpoint) error
func (*RPCClient) AttachedToExistingProcess ¶
func (*RPCClient) Call ¶ added in v1.1.0
func (c *RPCClient) Call(expr string) (*api.DebuggerState, error)
func (*RPCClient) CancelNext ¶
func (*RPCClient) ClearBreakpoint ¶
func (c *RPCClient) ClearBreakpoint(id int) (*api.Breakpoint, error)
func (*RPCClient) ClearBreakpointByName ¶
func (c *RPCClient) ClearBreakpointByName(name string) (*api.Breakpoint, error)
func (*RPCClient) Continue ¶
func (c *RPCClient) Continue() <-chan *api.DebuggerState
func (*RPCClient) CreateBreakpoint ¶
func (c *RPCClient) CreateBreakpoint(breakPoint *api.Breakpoint) (*api.Breakpoint, error)
func (*RPCClient) DisassemblePC ¶
func (c *RPCClient) DisassemblePC(scope api.EvalScope, pc uint64, flavour api.AssemblyFlavour) (api.AsmInstructions, error)
Disassemble function containing pc
func (*RPCClient) DisassembleRange ¶
func (c *RPCClient) DisassembleRange(scope api.EvalScope, startPC, endPC uint64, flavour api.AssemblyFlavour) (api.AsmInstructions, error)
Disassemble code between startPC and endPC
func (*RPCClient) EvalVariable ¶
func (*RPCClient) FindLocation ¶
func (*RPCClient) GetBreakpoint ¶
func (c *RPCClient) GetBreakpoint(id int) (*api.Breakpoint, error)
func (*RPCClient) GetBreakpointByName ¶
func (c *RPCClient) GetBreakpointByName(name string) (*api.Breakpoint, error)
func (*RPCClient) ListBreakpoints ¶
func (c *RPCClient) ListBreakpoints() ([]*api.Breakpoint, error)
func (*RPCClient) ListFunctionArgs ¶
func (*RPCClient) ListFunctions ¶
func (*RPCClient) ListLocalVariables ¶
func (*RPCClient) ListPackageVariables ¶
func (*RPCClient) ListPackageVariablesFor ¶
func (*RPCClient) ListRegisters ¶
func (*RPCClient) ProcessPid ¶
func (*RPCClient) SetVariable ¶
func (*RPCClient) Stacktrace ¶
func (*RPCClient) StepInstruction ¶
func (c *RPCClient) StepInstruction() (*api.DebuggerState, error)
func (*RPCClient) SwitchGoroutine ¶
func (c *RPCClient) SwitchGoroutine(goroutineID int) (*api.DebuggerState, error)
func (*RPCClient) SwitchThread ¶
func (c *RPCClient) SwitchThread(threadID int) (*api.DebuggerState, error)
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
func (*RPCServer) AmendBreakpoint ¶
func (s *RPCServer) AmendBreakpoint(amend *api.Breakpoint, unused *int) error
func (*RPCServer) AttachedToExistingProcess ¶
func (*RPCServer) ClearBreakpoint ¶
func (s *RPCServer) ClearBreakpoint(id int, breakpoint *api.Breakpoint) error
func (*RPCServer) ClearBreakpointByName ¶
func (s *RPCServer) ClearBreakpointByName(name string, breakpoint *api.Breakpoint) error
func (*RPCServer) Command ¶
func (s *RPCServer) Command(command *api.DebuggerCommand, cb service.RPCCallback)
func (*RPCServer) CreateBreakpoint ¶
func (s *RPCServer) CreateBreakpoint(bp, newBreakpoint *api.Breakpoint) error
func (*RPCServer) Disassemble ¶
func (c *RPCServer) Disassemble(args DisassembleRequest, answer *api.AsmInstructions) error
func (*RPCServer) EvalSymbol ¶
func (s *RPCServer) EvalSymbol(args EvalSymbolArgs, variable *api.Variable) error
func (*RPCServer) FindLocation ¶
func (c *RPCServer) FindLocation(args FindLocationArgs, answer *[]api.Location) error
func (*RPCServer) GetBreakpoint ¶
func (s *RPCServer) GetBreakpoint(id int, breakpoint *api.Breakpoint) error
func (*RPCServer) GetBreakpointByName ¶
func (s *RPCServer) GetBreakpointByName(name string, breakpoint *api.Breakpoint) error
func (*RPCServer) ListBreakpoints ¶
func (s *RPCServer) ListBreakpoints(arg interface{}, breakpoints *[]*api.Breakpoint) error
func (*RPCServer) ListFunctionArgs ¶
func (*RPCServer) ListFunctions ¶
func (*RPCServer) ListGoroutines ¶
func (*RPCServer) ListLocalVars ¶
func (*RPCServer) ListPackageVars ¶
func (*RPCServer) ListRegisters ¶
func (*RPCServer) ListSources ¶
func (*RPCServer) ListThreadPackageVars ¶
func (s *RPCServer) ListThreadPackageVars(args *ThreadListArgs, variables *[]api.Variable) error
func (*RPCServer) ListThreads ¶
func (*RPCServer) ProcessPid ¶
func (*RPCServer) StacktraceGoroutine ¶
func (s *RPCServer) StacktraceGoroutine(args *StacktraceGoroutineArgs, locations *[]api.Stackframe) error
type StacktraceGoroutineArgs ¶
type ThreadListArgs ¶
Click to show internal directories.
Click to hide internal directories.