gateway

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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 NewDebug

func NewDebug(client *rpc2.RPCClient) *Debug

func (*Debug) ClearBreakpointByName

func (d *Debug) ClearBreakpointByName(ctx context.Context, name string) (*api.Breakpoint, error)

func (*Debug) Continue

func (d *Debug) Continue(ctx context.Context) (*api.DebuggerState, error)

func (*Debug) CreateBreakpoint

func (d *Debug) CreateBreakpoint(ctx context.Context, breakPoint *api.Breakpoint) (*api.Breakpoint, error)

func (*Debug) Detach

func (d *Debug) Detach(kill bool) error

func (*Debug) Halt

func (d *Debug) Halt(ctx context.Context) (*api.DebuggerState, error)

func (*Debug) ListFunctionArgs

func (d *Debug) ListFunctionArgs(ctx context.Context, scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error)

func (*Debug) ListGoroutines

func (d *Debug) ListGoroutines(ctx context.Context, start, count int) ([]*api.Goroutine, int, error)

func (*Debug) ListLocalVariables

func (d *Debug) ListLocalVariables(ctx context.Context, scope api.EvalScope, cfg api.LoadConfig) ([]api.Variable, error)

func (*Debug) ListPackageVariables

func (d *Debug) ListPackageVariables(ctx context.Context, filter string, cfg api.LoadConfig) ([]api.Variable, error)

func (*Debug) Next

func (d *Debug) Next(ctx context.Context) (*api.DebuggerState, error)

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) Step

func (d *Debug) Step(ctx context.Context) (*api.DebuggerState, error)

func (*Debug) StepOut

func (d *Debug) StepOut(ctx context.Context) (*api.DebuggerState, error)

func (*Debug) SwitchGoroutine

func (d *Debug) SwitchGoroutine(ctx context.Context, goroutineID int64) (*api.DebuggerState, error)

func (*Debug) TraceDirectory

func (d *Debug) TraceDirectory(ctx context.Context) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL