Versions in this module Expand all Collapse all v0 v0.12.1 Jan 11, 2017 v0.12.0 Jan 11, 2017 Changes in this version + type AmendBreakpointIn struct + Breakpoint api.Breakpoint + type AmendBreakpointOut struct + type AttachedToExistingProcessIn struct + type AttachedToExistingProcessOut struct + Answer bool + type CancelNextIn struct + type CancelNextOut struct + type ClearBreakpointIn struct + Id int + Name string + type ClearBreakpointOut struct + Breakpoint *api.Breakpoint + type CommandOut struct + State api.DebuggerState + type CreateBreakpointIn struct + Breakpoint api.Breakpoint + type CreateBreakpointOut struct + Breakpoint api.Breakpoint + type DetachIn struct + Kill bool + type DetachOut struct + type DisassembleIn struct + EndPC uint64 + Flavour api.AssemblyFlavour + Scope api.EvalScope + StartPC uint64 + type DisassembleOut struct + Disassemble api.AsmInstructions + type EvalIn struct + Cfg *api.LoadConfig + Expr string + Scope api.EvalScope + type EvalOut struct + Variable *api.Variable + type FindLocationIn struct + Loc string + Scope api.EvalScope + type FindLocationOut struct + Locations []api.Location + type GetBreakpointIn struct + Id int + Name string + type GetBreakpointOut struct + Breakpoint api.Breakpoint + type GetThreadIn struct + Id int + type GetThreadOut struct + Thread *api.Thread + type LastModifiedIn struct + type LastModifiedOut struct + Time time.Time + type ListBreakpointsIn struct + type ListBreakpointsOut struct + Breakpoints []*api.Breakpoint + type ListFunctionArgsIn struct + Cfg api.LoadConfig + Scope api.EvalScope + type ListFunctionArgsOut struct + Args []api.Variable + type ListFunctionsIn struct + Filter string + type ListFunctionsOut struct + Funcs []string + type ListGoroutinesIn struct + type ListGoroutinesOut struct + Goroutines []*api.Goroutine + type ListLocalVarsIn struct + Cfg api.LoadConfig + Scope api.EvalScope + type ListLocalVarsOut struct + Variables []api.Variable + type ListPackageVarsIn struct + Cfg api.LoadConfig + Filter string + type ListPackageVarsOut struct + Variables []api.Variable + type ListRegistersIn struct + IncludeFp bool + ThreadID int + type ListRegistersOut struct + Registers string + Regs api.Registers + type ListSourcesIn struct + Filter string + type ListSourcesOut struct + Sources []string + type ListThreadsIn struct + type ListThreadsOut struct + Threads []*api.Thread + type ListTypesIn struct + Filter string + type ListTypesOut struct + Types []string + type ProcessPidIn struct + type ProcessPidOut struct + Pid int + type RPCClient struct + func NewClient(addr string) *RPCClient + func (c *RPCClient) AmendBreakpoint(bp *api.Breakpoint) error + func (c *RPCClient) AttachedToExistingProcess() bool + 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, expr string, cfg api.LoadConfig) (*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) LastModified() time.Time + func (c *RPCClient) ListBreakpoints() ([]*api.Breakpoint, error) + func (c *RPCClient) ListFunctionArgs(scope api.EvalScope, cfg api.LoadConfig) ([]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, cfg api.LoadConfig) ([]api.Variable, error) + func (c *RPCClient) ListPackageVariables(filter string, cfg api.LoadConfig) ([]api.Variable, error) + func (c *RPCClient) ListRegisters(threadID int, includeFp bool) (api.Registers, 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() ([]api.DiscardedBreakpoint, error) + func (c *RPCClient) SetVariable(scope api.EvalScope, symbol, value string) error + func (c *RPCClient) Stacktrace(goroutineId, depth int, cfg *api.LoadConfig) ([]api.Stackframe, error) + func (c *RPCClient) Step() (*api.DebuggerState, error) + func (c *RPCClient) StepInstruction() (*api.DebuggerState, error) + func (c *RPCClient) StepOut() (*api.DebuggerState, error) + func (c *RPCClient) SwitchGoroutine(goroutineID int) (*api.DebuggerState, error) + func (c *RPCClient) SwitchThread(threadID int) (*api.DebuggerState, error) + type RPCServer struct + func NewServer(config *service.Config, debugger *debugger.Debugger) *RPCServer + func (c *RPCServer) AttachedToExistingProcess(arg AttachedToExistingProcessIn, out *AttachedToExistingProcessOut) error + func (c *RPCServer) Disassemble(arg DisassembleIn, out *DisassembleOut) error + func (c *RPCServer) FindLocation(arg FindLocationIn, out *FindLocationOut) error + func (s *RPCServer) AmendBreakpoint(arg AmendBreakpointIn, out *AmendBreakpointOut) error + func (s *RPCServer) CancelNext(arg CancelNextIn, out *CancelNextOut) error + func (s *RPCServer) ClearBreakpoint(arg ClearBreakpointIn, out *ClearBreakpointOut) error + func (s *RPCServer) Command(command api.DebuggerCommand, cb service.RPCCallback) + func (s *RPCServer) CreateBreakpoint(arg CreateBreakpointIn, out *CreateBreakpointOut) error + func (s *RPCServer) Detach(arg DetachIn, out *DetachOut) error + func (s *RPCServer) Eval(arg EvalIn, out *EvalOut) error + func (s *RPCServer) GetBreakpoint(arg GetBreakpointIn, out *GetBreakpointOut) error + func (s *RPCServer) GetThread(arg GetThreadIn, out *GetThreadOut) error + func (s *RPCServer) LastModified(arg LastModifiedIn, out *LastModifiedOut) error + func (s *RPCServer) ListBreakpoints(arg ListBreakpointsIn, out *ListBreakpointsOut) error + func (s *RPCServer) ListFunctionArgs(arg ListFunctionArgsIn, out *ListFunctionArgsOut) error + func (s *RPCServer) ListFunctions(arg ListFunctionsIn, out *ListFunctionsOut) error + func (s *RPCServer) ListGoroutines(arg ListGoroutinesIn, out *ListGoroutinesOut) error + func (s *RPCServer) ListLocalVars(arg ListLocalVarsIn, out *ListLocalVarsOut) error + func (s *RPCServer) ListPackageVars(arg ListPackageVarsIn, out *ListPackageVarsOut) error + func (s *RPCServer) ListRegisters(arg ListRegistersIn, out *ListRegistersOut) error + func (s *RPCServer) ListSources(arg ListSourcesIn, out *ListSourcesOut) error + func (s *RPCServer) ListThreads(arg ListThreadsIn, out *ListThreadsOut) (err error) + func (s *RPCServer) ListTypes(arg ListTypesIn, out *ListTypesOut) error + func (s *RPCServer) ProcessPid(arg ProcessPidIn, out *ProcessPidOut) error + func (s *RPCServer) Restart(arg RestartIn, out *RestartOut) error + func (s *RPCServer) Set(arg SetIn, out *SetOut) error + func (s *RPCServer) Stacktrace(arg StacktraceIn, out *StacktraceOut) error + func (s *RPCServer) State(arg StateIn, out *StateOut) error + type RestartIn struct + type RestartOut struct + DiscardedBreakpoints []api.DiscardedBreakpoint + type SetIn struct + Scope api.EvalScope + Symbol string + Value string + type SetOut struct + type StacktraceIn struct + Cfg *api.LoadConfig + Depth int + Full bool + Id int + type StacktraceOut struct + Locations []api.Stackframe + type StateIn struct + type StateOut struct + State *api.DebuggerState