Versions in this module Expand all Collapse all v1 v1.1.0 Aug 16, 2018 Changes in this version + type Client interface + AmendBreakpoint func(*api.Breakpoint) error + AttachedToExistingProcess func() bool + Call func(expr string) (*api.DebuggerState, error) + CancelNext func() error + Checkpoint func(where string) (checkpointID int, err error) + ClearBreakpoint func(id int) (*api.Breakpoint, error) + ClearBreakpointByName func(name string) (*api.Breakpoint, error) + ClearCheckpoint func(id int) error + Continue func() <-chan *api.DebuggerState + CreateBreakpoint func(*api.Breakpoint) (*api.Breakpoint, error) + Detach func(killProcess bool) error + DisassemblePC func(scope api.EvalScope, pc uint64, flavour api.AssemblyFlavour) (api.AsmInstructions, error) + DisassembleRange func(scope api.EvalScope, startPC, endPC uint64, flavour api.AssemblyFlavour) (api.AsmInstructions, error) + Disconnect func(cont bool) error + EvalVariable func(scope api.EvalScope, symbol string, cfg api.LoadConfig) (*api.Variable, error) + FindLocation func(scope api.EvalScope, loc string) ([]api.Location, error) + GetBreakpoint func(id int) (*api.Breakpoint, error) + GetBreakpointByName func(name string) (*api.Breakpoint, error) + GetState func() (*api.DebuggerState, error) + GetStateNonBlocking func() (*api.DebuggerState, error) + GetThread func(id int) (*api.Thread, error) + Halt func() (*api.DebuggerState, error) + IsMulticlient func() bool + LastModified func() time.Time + ListBreakpoints func() ([]*api.Breakpoint, error) + ListCheckpoints func() ([]api.Checkpoint, error) + ListFunctionArgs func(scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error) + ListFunctions func(filter string) ([]string, error) + ListGoroutines func() ([]*api.Goroutine, error) + ListLocalVariables func(scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error) + ListPackageVariables func(filter string, cfg api.LoadConfig) ([]api.Variable, error) + ListRegisters func(threadID int, includeFp bool) (api.Registers, error) + ListSources func(filter string) ([]string, error) + ListThreads func() ([]*api.Thread, error) + ListTypes func(filter string) ([]string, error) + Next func() (*api.DebuggerState, error) + ProcessPid func() int + Recorded func() bool + Restart func() ([]api.DiscardedBreakpoint, error) + RestartFrom func(pos string, resetArgs bool, newArgs []string) ([]api.DiscardedBreakpoint, error) + Rewind func() <-chan *api.DebuggerState + SetReturnValuesLoadConfig func(*api.LoadConfig) + SetVariable func(scope api.EvalScope, symbol, value string) error + Stacktrace func(goroutineID int, depth int, readDefers bool, cfg *api.LoadConfig) ([]api.Stackframe, error) + Step func() (*api.DebuggerState, error) + StepInstruction func() (*api.DebuggerState, error) + StepOut func() (*api.DebuggerState, error) + SwitchGoroutine func(goroutineID int) (*api.DebuggerState, error) + SwitchThread func(threadID int) (*api.DebuggerState, error) + TraceDirectory func() (string, error) + type Config struct + APIVersion int + AcceptMulti bool + AttachPid int + Backend string + CoreFile string + DisconnectChan chan<- struct{} + Foreground bool + Listener net.Listener + ProcessArgs []string + WorkingDir string + type RPCCallback interface + Return func(out interface{}, err error) + type Server interface + Run func() error + Stop func(bool) error