debugger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BreakpointSpec

type BreakpointSpec struct {
	File    string
	Line    int
	Name    string
	Raw     string
	Address string
}

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *Manager

func (*Manager) AddBreakpoint

func (m *Manager) AddBreakpoint(ctx context.Context, id string, spec BreakpointSpec) (string, error)

func (*Manager) Attach

func (m *Manager) Attach(ctx context.Context, sel Selector) (SessionInfo, string, error)

func (*Manager) Continue

func (m *Manager) Continue(ctx context.Context, id string) (string, error)

func (*Manager) Detach

func (m *Manager) Detach(ctx context.Context, id string) (string, error)

func (*Manager) List

func (m *Manager) List() []SessionInfo

func (*Manager) RemoveBreakpoint

func (m *Manager) RemoveBreakpoint(ctx context.Context, id string, breakpointID int) (string, error)

func (*Manager) Run

func (m *Manager) Run(ctx context.Context, id, command string) (string, error)

func (*Manager) Stack

func (m *Manager) Stack(ctx context.Context, id string) (string, error)

func (*Manager) Variables

func (m *Manager) Variables(ctx context.Context, id string) (string, error)

type Selector

type Selector struct {
	BundleID string
	Name     string
	PID      int
}

type SessionInfo

type SessionInfo struct {
	ID       string `json:"id"`
	PID      int    `json:"pid"`
	BundleID string `json:"bundle_id,omitempty"`
	Name     string `json:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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