Documentation
¶
Index ¶
- type Debug
- func (d *Debug) ClearBreakpointByName(ctx context.Context, name string) (*api.Breakpoint, error)
- func (d *Debug) Continue(ctx context.Context) (*api.DebuggerState, error)
- func (d *Debug) CreateBreakpoint(ctx context.Context, breakPoint *api.Breakpoint) (*api.Breakpoint, error)
- func (d *Debug) Detach(kill bool) error
- func (d *Debug) Halt(ctx context.Context) (*api.DebuggerState, error)
- func (d *Debug) ListFunctionArgs(ctx context.Context, scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error)
- func (d *Debug) ListGoroutines(ctx context.Context, start, count int) ([]*api.Goroutine, int, error)
- func (d *Debug) ListLocalVariables(ctx context.Context, scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error)
- func (d *Debug) ListPackageVariables(ctx context.Context, filter string, cfg api.LoadConfig) ([]api.Variable, error)
- func (d *Debug) Next(ctx context.Context) (*api.DebuggerState, error)
- func (d *Debug) Stacktrace(ctx context.Context, goroutineId int64, depth int, opts api.StacktraceOptions, ...) ([]api.Stackframe, error)
- func (d *Debug) Step(ctx context.Context) (*api.DebuggerState, error)
- func (d *Debug) StepOut(ctx context.Context) (*api.DebuggerState, error)
- func (d *Debug) SwitchGoroutine(ctx context.Context, goroutineID int64) (*api.DebuggerState, error)
- func (d *Debug) TraceDirectory(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debug ¶
type Debug struct {
// contains filtered or unexported fields
}
func (*Debug) ClearBreakpointByName ¶
func (*Debug) CreateBreakpoint ¶
func (d *Debug) CreateBreakpoint(ctx context.Context, breakPoint *api.Breakpoint) (*api.Breakpoint, error)
func (*Debug) ListFunctionArgs ¶
func (*Debug) ListGoroutines ¶
func (*Debug) ListLocalVariables ¶
func (*Debug) ListPackageVariables ¶
func (*Debug) Stacktrace ¶
func (d *Debug) Stacktrace(ctx context.Context, goroutineId int64, depth int, opts api.StacktraceOptions, cfg *api.LoadConfig) ([]api.Stackframe, error)
func (*Debug) SwitchGoroutine ¶
Click to show internal directories.
Click to hide internal directories.