Versions in this module Expand all Collapse all v0 v0.1.156 Apr 24, 2026 v0.1.155 Apr 24, 2026 Changes in this version + func Register(lang languages.Language, cfg *LanguageConfig) + type BreakpointResult struct + File string + ID int + Line int + Message string + Verified bool + type Client interface + Attach func(ctx context.Context, pid int) error + Close func(ctx context.Context) error + Continue func(ctx context.Context, threadID int) error + Evaluate func(ctx context.Context, frameID int, expression string) (*Variable, error) + Launch func(ctx context.Context, program string, args []string, env map[string]string) error + Next func(ctx context.Context, threadID int) error + OnOutput func(handler func(OutputEvent)) + OnStopped func(handler func(StoppedEvent)) + OnTerminated func(handler func()) + Pause func(ctx context.Context, threadID int) error + Scopes func(ctx context.Context, frameID int) ([]Scope, error) + SetBreakpoints func(ctx context.Context, file string, lines []int) ([]BreakpointResult, error) + SetFunctionBreakpoints func(ctx context.Context, names []string) ([]BreakpointResult, error) + StackTrace func(ctx context.Context, threadID int) ([]StackFrame, error) + StepIn func(ctx context.Context, threadID int) error + StepOut func(ctx context.Context, threadID int) error + Threads func(ctx context.Context) ([]ThreadInfo, error) + Variables func(ctx context.Context, ref int) ([]Variable, error) + func NewClient(ctx context.Context, lang languages.Language, sourceDir string) (Client, error) + type LanguageConfig struct + CompanionImage func(ctx context.Context) (*resources.DockerImage, error) + DAPBinary string + DAPListenArgs func(port int) []string + LanguageID string + SetupRunner func(ctx context.Context, runner runners.CompanionRunner, sourceDir string) + type OutputEvent struct + Category string + Output string + type Scope struct + Name string + Ref int + type StackFrame struct + Column int + File string + ID int + Line int + Name string + type StoppedEvent struct + Reason string + ThreadID int + type ThreadInfo struct + ID int + Name string + type Variable struct + Name string + Ref int + Type string + Value string