Versions in this module Expand all Collapse all v0 v0.0.3 Jul 16, 2026 v0.0.2 Jul 15, 2026 Changes in this version + type BreakpointInfo struct + Condition string + File string + FunctionName string + HitCount uint64 + ID int + Line int + type DelveDebugger struct + func NewDelveDebugger() *DelveDebugger + func (d *DelveDebugger) Addr() string + func (d *DelveDebugger) Args() ([]Variable, error) + func (d *DelveDebugger) ClearBreakpoint(id int) error + func (d *DelveDebugger) Connect(addr string) error + func (d *DelveDebugger) Continue() (*StopState, error) + func (d *DelveDebugger) Disconnect() + func (d *DelveDebugger) DlvPID() int + func (d *DelveDebugger) Eval(expr string) (*Variable, error) + func (d *DelveDebugger) Goroutines() ([]GoroutineInfo, error) + func (d *DelveDebugger) ListBreakpoints() ([]BreakpointInfo, error) + func (d *DelveDebugger) Locals() ([]Variable, error) + func (d *DelveDebugger) PID() int + func (d *DelveDebugger) SetBreakpoint(file string, line int, condition string) (*BreakpointInfo, error) + func (d *DelveDebugger) SetFunctionBreakpoint(funcName string, condition string) (*BreakpointInfo, error) + func (d *DelveDebugger) Stacktrace(depth int) ([]StackFrame, error) + func (d *DelveDebugger) Start(ctx context.Context, binary string, args []string, listenPort int) error + func (d *DelveDebugger) StartAttach(ctx context.Context, pid int) error + func (d *DelveDebugger) StartWithEnv(ctx context.Context, binary string, args []string, extraEnv []string, ...) error + func (d *DelveDebugger) StepInto() (*StopState, error) + func (d *DelveDebugger) StepOut() (*StopState, error) + func (d *DelveDebugger) StepOver() (*StopState, error) + func (d *DelveDebugger) Stop() error + type Deps struct + type GoroutineInfo struct + CurrentFile string + CurrentLine int + Function string + ID int64 + Status string + type MockService struct + ClearSessionFunc func(string) error + LoadSessionFunc func(string) (*SessionInfo, error) + SaveSessionFunc func(string, *SessionInfo) error + func (m *MockService) ClearSession(dir string) error + func (m *MockService) LoadSession(dir string) (*SessionInfo, error) + func (m *MockService) SaveSession(dir string, session *SessionInfo) error + type Service interface + ClearSession func(dir string) error + LoadSession func(dir string) (*SessionInfo, error) + SaveSession func(dir string, session *SessionInfo) error + func New(_ Deps) Service + type SessionInfo struct + Addr string + Binary string + DlvPID int + Docker bool + Owned bool + PID int + Started time.Time + TmpDir string + Type string + type StackFrame struct + Args []Variable + File string + Function string + Line int + Locals []Variable + type StopState struct + Args []Variable + File string + Function string + GoroutineID int64 + Line int + Locals []Variable + Reason string + type Variable struct + Children []Variable + Name string + Type string + Value string