stubdbg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stub

type Stub struct {
}

GiDebug is the interface for all supported debuggers. It is based directly on the Delve Client interface.

func (*Stub) AmendBreak

func (st *Stub) AmendBreak(id int, fname string, line int, cond string, trace bool) error

func (*Stub) CancelNext

func (st *Stub) CancelNext() error

func (*Stub) ClearBreak

func (st *Stub) ClearBreak(id int) error

func (*Stub) Continue

func (st *Stub) Continue(all *cdebug.AllState) <-chan *cdebug.State

func (*Stub) CurThreadID

func (st *Stub) CurThreadID(all *cdebug.AllState) int

func (*Stub) Detach

func (st *Stub) Detach(killProcess bool) error

func (*Stub) Disconnect

func (st *Stub) Disconnect(cont bool) error

func (*Stub) FindFrames

func (st *Stub) FindFrames(all *cdebug.AllState, fname string, line int) ([]*cdebug.Frame, error)

func (*Stub) FollowPtr

func (st *Stub) FollowPtr(vr *cdebug.Variable) error

func (*Stub) GetBreak

func (st *Stub) GetBreak(id int) (*cdebug.Break, error)

func (*Stub) GetState

func (st *Stub) GetState() (*cdebug.State, error)

func (*Stub) GetThread

func (st *Stub) GetThread(id int) (*cdebug.Thread, error)

func (*Stub) GetVar

func (st *Stub) GetVar(expr string, threadID int, frame int) (*cdebug.Variable, error)

func (*Stub) HasTasks

func (st *Stub) HasTasks() bool

func (*Stub) InitAllState

func (st *Stub) InitAllState(all *cdebug.AllState) error

func (*Stub) IsActive

func (st *Stub) IsActive() bool

func (*Stub) LastModified

func (st *Stub) LastModified() time.Time

func (*Stub) ListBreaks

func (st *Stub) ListBreaks() ([]*cdebug.Break, error)

func (*Stub) ListFuncs

func (st *Stub) ListFuncs(filter string) ([]string, error)

func (*Stub) ListGlobalVars

func (st *Stub) ListGlobalVars(filter string) ([]*cdebug.Variable, error)

func (*Stub) ListSources

func (st *Stub) ListSources(filter string) ([]string, error)

func (*Stub) ListTasks

func (st *Stub) ListTasks() ([]*cdebug.Task, error)

func (*Stub) ListThreads

func (st *Stub) ListThreads() ([]*cdebug.Thread, error)

func (*Stub) ListTypes

func (st *Stub) ListTypes(filter string) ([]string, error)

func (*Stub) ListVars

func (st *Stub) ListVars(threadID int, frame int) ([]*cdebug.Variable, error)

func (*Stub) ProcessPid

func (st *Stub) ProcessPid() int

func (*Stub) Restart

func (st *Stub) Restart() error

func (*Stub) SetBreak

func (st *Stub) SetBreak(fname string, line int) (*cdebug.Break, error)

func (*Stub) SetParams

func (st *Stub) SetParams(params *cdebug.Params)

func (*Stub) SetVar

func (st *Stub) SetVar(name, value string, threadID int, frame int) error

func (*Stub) Stack

func (st *Stub) Stack(threadID int, depth int) ([]*cdebug.Frame, error)

func (*Stub) Start

func (st *Stub) Start(path, rootPath string, outbuf *texteditor.Buffer, pars *cdebug.Params) error

func (*Stub) StepInto

func (st *Stub) StepInto() (*cdebug.State, error)

func (*Stub) StepOut

func (st *Stub) StepOut() (*cdebug.State, error)

func (*Stub) StepOver

func (st *Stub) StepOver() (*cdebug.State, error)

func (*Stub) StepSingle

func (st *Stub) StepSingle() (*cdebug.State, error)

func (*Stub) Stop

func (st *Stub) Stop() (*cdebug.State, error)

func (*Stub) SwitchTask

func (st *Stub) SwitchTask(threadID int) (*cdebug.State, error)

func (*Stub) SwitchThread

func (st *Stub) SwitchThread(threadID int) (*cdebug.State, error)

func (*Stub) UpdateAllState

func (st *Stub) UpdateAllState(all *cdebug.AllState, threadID int, frame int) error

func (*Stub) UpdateBreaks

func (st *Stub) UpdateBreaks(brk *[]*cdebug.Break) error

func (*Stub) WriteToConsole

func (st *Stub) WriteToConsole(msg string)

Jump to

Keyboard shortcuts

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