Versions in this module Expand all Collapse all v0 v0.0.1 Oct 27, 2024 Changes in this version + type AmendBreakpointIn struct + Breakpoint api.Breakpoint + type AmendBreakpointOut struct + type AncestorsIn struct + Depth int + GoroutineID int64 + NumAncestors int + type AncestorsOut struct + Ancestors []api.Ancestor + type AttachedToExistingProcessIn struct + type AttachedToExistingProcessOut struct + Answer bool + type BuildIDIn struct + type BuildIDOut struct + BuildID string + type CancelNextIn struct + type CancelNextOut struct + type CheckpointIn struct + Where string + type CheckpointOut struct + ID int + type ClearBreakpointIn struct + Id int + Name string + type ClearBreakpointOut struct + Breakpoint *api.Breakpoint + type ClearCheckpointIn struct + ID int + type ClearCheckpointOut struct + type CommandOut struct + State api.DebuggerState + type CreateBreakpointIn struct + Breakpoint api.Breakpoint + LocExpr string + SubstitutePathRules [][2]string + Suspended bool + type CreateBreakpointOut struct + Breakpoint api.Breakpoint + type CreateEBPFTracepointIn struct + FunctionName string + type CreateEBPFTracepointOut struct + Breakpoint api.Breakpoint + type CreateWatchpointIn struct + Expr string + Scope api.EvalScope + Type api.WatchType + type CreateWatchpointOut struct + type DebugInfoDirectoriesIn struct + List []string + Set bool + type DebugInfoDirectoriesOut struct + List []string + 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 DumpCancelIn struct + type DumpCancelOut struct + type DumpStartIn struct + Destination string + type DumpStartOut struct + State api.DumpState + type DumpWaitIn struct + Wait int + type DumpWaitOut struct + State api.DumpState + type EvalIn struct + Cfg *api.LoadConfig + Expr string + Scope api.EvalScope + type EvalOut struct + Variable *api.Variable + type ExamineMemoryIn struct + Address uint64 + Length int + type ExaminedMemoryOut struct + IsLittleEndian bool + Mem []byte + type FindLocationIn struct + IncludeNonExecutableLines bool + Loc string + Scope api.EvalScope + SubstitutePathRules [][2]string + type FindLocationOut struct + Locations []api.Location + SubstituteLocExpr string + type FollowExecEnabledIn struct + type FollowExecEnabledOut struct + Enabled bool + type FollowExecIn struct + Enable bool + Regex string + type FollowExecOut struct + type FunctionReturnLocationsIn struct + FnName string + type FunctionReturnLocationsOut struct + Addrs []uint64 + type GetBreakpointIn struct + Id int + Name string + type GetBreakpointOut struct + Breakpoint api.Breakpoint + type GetBufferedTracepointsIn struct + type GetBufferedTracepointsOut struct + TracepointResults []api.TracepointResult + type GetThreadIn struct + Id int + type GetThreadOut struct + Thread *api.Thread + type IsMulticlientIn struct + type IsMulticlientOut struct + IsMulticlient bool + type LastModifiedIn struct + type LastModifiedOut struct + Time time.Time + type ListBreakpointsIn struct + All bool + type ListBreakpointsOut struct + Breakpoints []*api.Breakpoint + type ListCheckpointsIn struct + type ListCheckpointsOut struct + Checkpoints []api.Checkpoint + type ListDynamicLibrariesIn struct + type ListDynamicLibrariesOut struct + List []api.Image + type ListFunctionArgsIn struct + Cfg api.LoadConfig + Scope api.EvalScope + type ListFunctionArgsOut struct + Args []api.Variable + type ListFunctionsIn struct + Filter string + FollowCalls int + type ListFunctionsOut struct + Funcs []string + type ListGoroutinesIn struct + Count int + EvalScope *api.EvalScope + Filters []api.ListGoroutinesFilter + Start int + type ListGoroutinesOut struct + Goroutines []*api.Goroutine + Groups []api.GoroutineGroup + Nextg int + TooManyGroups bool + 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 ListPackagesBuildInfoIn struct + Filter string + IncludeFiles bool + type ListPackagesBuildInfoOut struct + List []api.PackageBuildInfo + type ListRegistersIn struct + IncludeFp bool + Scope *api.EvalScope + ThreadID int + type ListRegistersOut struct + Registers string + Regs api.Registers + type ListSourcesIn struct + Filter string + type ListSourcesOut struct + Sources []string + type ListTargetsIn struct + type ListTargetsOut struct + Targets []api.Target + 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 NewClientFromConn(conn net.Conn) *RPCClient + func (c *RPCClient) AmendBreakpoint(bp *api.Breakpoint) error + func (c *RPCClient) Ancestors(goroutineID int64, numAncestors int, depth int) ([]api.Ancestor, error) + func (c *RPCClient) AttachedToExistingProcess() bool + func (c *RPCClient) BuildID() string + func (c *RPCClient) Call(goroutineID int64, expr string, unsafe bool) (*api.DebuggerState, error) + func (c *RPCClient) CallAPI(method string, args, reply interface{}) error + func (c *RPCClient) CancelNext() error + func (c *RPCClient) Checkpoint(where string) (checkpointID int, err error) + func (c *RPCClient) ClearBreakpoint(id int) (*api.Breakpoint, error) + func (c *RPCClient) ClearBreakpointByName(name string) (*api.Breakpoint, error) + func (c *RPCClient) ClearCheckpoint(id int) error + func (c *RPCClient) Continue() <-chan *api.DebuggerState + func (c *RPCClient) CoreDumpCancel() error + func (c *RPCClient) CoreDumpStart(dest string) (api.DumpState, error) + func (c *RPCClient) CoreDumpWait(msec int) api.DumpState + func (c *RPCClient) CreateBreakpoint(breakPoint *api.Breakpoint) (*api.Breakpoint, error) + func (c *RPCClient) CreateBreakpointWithExpr(breakPoint *api.Breakpoint, locExpr string, substitutePathRules [][2]string, ...) (*api.Breakpoint, error) + func (c *RPCClient) CreateEBPFTracepoint(fnName string) error + func (c *RPCClient) CreateWatchpoint(scope api.EvalScope, expr string, wtype api.WatchType) (*api.Breakpoint, error) + func (c *RPCClient) Detach(kill bool) error + func (c *RPCClient) DirectionCongruentContinue() <-chan *api.DebuggerState + 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) Disconnect(cont bool) error + func (c *RPCClient) EvalVariable(scope api.EvalScope, expr string, cfg api.LoadConfig) (*api.Variable, error) + func (c *RPCClient) ExamineMemory(address uint64, count int) ([]byte, bool, error) + func (c *RPCClient) FindLocation(scope api.EvalScope, loc string, findInstructions bool, ...) ([]api.Location, string, error) + func (c *RPCClient) FollowExec(v bool, regex string) error + func (c *RPCClient) FollowExecEnabled() bool + func (c *RPCClient) FunctionReturnLocations(fnName string) ([]uint64, error) + func (c *RPCClient) GetBreakpoint(id int) (*api.Breakpoint, error) + func (c *RPCClient) GetBreakpointByName(name string) (*api.Breakpoint, error) + func (c *RPCClient) GetBufferedTracepoints() ([]api.TracepointResult, error) + func (c *RPCClient) GetDebugInfoDirectories() ([]string, error) + func (c *RPCClient) GetState() (*api.DebuggerState, error) + func (c *RPCClient) GetStateNonBlocking() (*api.DebuggerState, error) + func (c *RPCClient) GetThread(id int) (*api.Thread, error) + func (c *RPCClient) Halt() (*api.DebuggerState, error) + func (c *RPCClient) IsMulticlient() bool + func (c *RPCClient) LastModified() time.Time + func (c *RPCClient) ListBreakpoints(all bool) ([]*api.Breakpoint, error) + func (c *RPCClient) ListCheckpoints() ([]api.Checkpoint, error) + func (c *RPCClient) ListDynamicLibraries() ([]api.Image, error) + func (c *RPCClient) ListFunctionArgs(scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error) + func (c *RPCClient) ListFunctions(filter string, TraceFollow int) ([]string, error) + func (c *RPCClient) ListGoroutines(start, count int) ([]*api.Goroutine, int, error) + func (c *RPCClient) ListGoroutinesWithFilter(start, count int, filters []api.ListGoroutinesFilter, ...) ([]*api.Goroutine, []api.GoroutineGroup, int, bool, 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) ListPackagesBuildInfo(filter string, includeFiles bool) ([]api.PackageBuildInfo, error) + func (c *RPCClient) ListScopeRegisters(scope api.EvalScope, includeFp bool) (api.Registers, error) + func (c *RPCClient) ListSources(filter string) ([]string, error) + func (c *RPCClient) ListTargets() ([]api.Target, error) + func (c *RPCClient) ListThreadRegisters(threadID int, includeFp bool) (api.Registers, 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) Recorded() bool + func (c *RPCClient) Restart(rebuild bool) ([]api.DiscardedBreakpoint, error) + func (c *RPCClient) RestartFrom(rerecord bool, pos string, resetArgs bool, newArgs []string, ...) ([]api.DiscardedBreakpoint, error) + func (c *RPCClient) ReverseNext() (*api.DebuggerState, error) + func (c *RPCClient) ReverseStep() (*api.DebuggerState, error) + func (c *RPCClient) ReverseStepInstruction(skipCalls bool) (*api.DebuggerState, error) + func (c *RPCClient) ReverseStepOut() (*api.DebuggerState, error) + func (c *RPCClient) Rewind() <-chan *api.DebuggerState + func (c *RPCClient) SetDebugInfoDirectories(v []string) error + func (c *RPCClient) SetReturnValuesLoadConfig(cfg *api.LoadConfig) + func (c *RPCClient) SetVariable(scope api.EvalScope, symbol, value string) error + func (c *RPCClient) Stacktrace(goroutineId int64, depth int, opts api.StacktraceOptions, cfg *api.LoadConfig) ([]api.Stackframe, error) + func (c *RPCClient) Step() (*api.DebuggerState, error) + func (c *RPCClient) StepInstruction(skipCalls bool) (*api.DebuggerState, error) + func (c *RPCClient) StepOut() (*api.DebuggerState, error) + func (c *RPCClient) StopRecording() error + func (c *RPCClient) SwitchGoroutine(goroutineID int64) (*api.DebuggerState, error) + func (c *RPCClient) SwitchThread(threadID int) (*api.DebuggerState, error) + func (c *RPCClient) ToggleBreakpoint(id int) (*api.Breakpoint, error) + func (c *RPCClient) ToggleBreakpointByName(name string) (*api.Breakpoint, error) + func (c *RPCClient) TraceDirectory() (string, error) + type RPCServer struct + func NewServer(config *service.Config, debugger *debugger.Debugger) *RPCServer + func (s *RPCServer) AmendBreakpoint(arg AmendBreakpointIn, out *AmendBreakpointOut) error + func (s *RPCServer) Ancestors(arg AncestorsIn, out *AncestorsOut) error + func (s *RPCServer) AttachedToExistingProcess(arg AttachedToExistingProcessIn, out *AttachedToExistingProcessOut) error + func (s *RPCServer) BuildID(arg BuildIDIn, out *BuildIDOut) error + func (s *RPCServer) CancelNext(arg CancelNextIn, out *CancelNextOut) error + func (s *RPCServer) Checkpoint(arg CheckpointIn, out *CheckpointOut) error + func (s *RPCServer) ClearBreakpoint(arg ClearBreakpointIn, out *ClearBreakpointOut) error + func (s *RPCServer) ClearCheckpoint(arg ClearCheckpointIn, out *ClearCheckpointOut) error + func (s *RPCServer) Command(command api.DebuggerCommand, cb service.RPCCallback) + func (s *RPCServer) CreateBreakpoint(arg CreateBreakpointIn, out *CreateBreakpointOut) error + func (s *RPCServer) CreateEBPFTracepoint(arg CreateEBPFTracepointIn, out *CreateEBPFTracepointOut) error + func (s *RPCServer) CreateWatchpoint(arg CreateWatchpointIn, out *CreateWatchpointOut) error + func (s *RPCServer) DebugInfoDirectories(arg DebugInfoDirectoriesIn, out *DebugInfoDirectoriesOut) error + func (s *RPCServer) Detach(arg DetachIn, out *DetachOut) error + func (s *RPCServer) Disassemble(arg DisassembleIn, out *DisassembleOut) error + func (s *RPCServer) DumpCancel(arg DumpCancelIn, out *DumpCancelOut) error + func (s *RPCServer) DumpStart(arg DumpStartIn, out *DumpStartOut) error + func (s *RPCServer) DumpWait(arg DumpWaitIn, out *DumpWaitOut) error + func (s *RPCServer) Eval(arg EvalIn, out *EvalOut) error + func (s *RPCServer) ExamineMemory(arg ExamineMemoryIn, out *ExaminedMemoryOut) error + func (s *RPCServer) FindLocation(arg FindLocationIn, out *FindLocationOut) error + func (s *RPCServer) FollowExec(arg FollowExecIn, out *FollowExecOut) error + func (s *RPCServer) FollowExecEnabled(arg FollowExecEnabledIn, out *FollowExecEnabledOut) error + func (s *RPCServer) FunctionReturnLocations(in FunctionReturnLocationsIn, out *FunctionReturnLocationsOut) error + func (s *RPCServer) GetBreakpoint(arg GetBreakpointIn, out *GetBreakpointOut) error + func (s *RPCServer) GetBufferedTracepoints(arg GetBufferedTracepointsIn, out *GetBufferedTracepointsOut) error + func (s *RPCServer) GetThread(arg GetThreadIn, out *GetThreadOut) error + func (s *RPCServer) IsMulticlient(arg IsMulticlientIn, out *IsMulticlientOut) error + func (s *RPCServer) LastModified(arg LastModifiedIn, out *LastModifiedOut) error + func (s *RPCServer) ListBreakpoints(arg ListBreakpointsIn, out *ListBreakpointsOut) error + func (s *RPCServer) ListCheckpoints(arg ListCheckpointsIn, out *ListCheckpointsOut) error + func (s *RPCServer) ListDynamicLibraries(in ListDynamicLibrariesIn, out *ListDynamicLibrariesOut) 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) ListPackagesBuildInfo(in ListPackagesBuildInfoIn, out *ListPackagesBuildInfoOut) error + func (s *RPCServer) ListRegisters(arg ListRegistersIn, out *ListRegistersOut) error + func (s *RPCServer) ListSources(arg ListSourcesIn, out *ListSourcesOut) error + func (s *RPCServer) ListTargets(arg ListTargetsIn, out *ListTargetsOut) 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) Recorded(arg RecordedIn, out *RecordedOut) error + func (s *RPCServer) Restart(arg RestartIn, cb service.RPCCallback) + func (s *RPCServer) Set(arg SetIn, out *SetOut) error + func (s *RPCServer) Stacktrace(arg StacktraceIn, out *StacktraceOut) error + func (s *RPCServer) State(arg StateIn, cb service.RPCCallback) + func (s *RPCServer) StopRecording(arg StopRecordingIn, cb service.RPCCallback) + func (s *RPCServer) ToggleBreakpoint(arg ToggleBreakpointIn, out *ToggleBreakpointOut) error + type RecordedIn struct + type RecordedOut struct + Recorded bool + TraceDirectory string + type RestartIn struct + NewArgs []string + NewRedirects [3]string + Position string + Rebuild bool + Rerecord bool + ResetArgs bool + 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 + Defers bool + Depth int + Full bool + Id int64 + Opts api.StacktraceOptions + type StacktraceOut struct + Locations []api.Stackframe + type StateIn struct + NonBlocking bool + type StateOut struct + State *api.DebuggerState + type StopRecordingIn struct + type StopRecordingOut struct + type ToggleBreakpointIn struct + Id int + Name string + type ToggleBreakpointOut struct + Breakpoint *api.Breakpoint v0.0.1-alpha Jan 10, 2025