debug

package
v0.0.0-...-d96f53a Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DebugOpContinue = fast.DebugOpContinue
	DebugOpStep     = fast.DebugOpStep
	DebugOpRepl     = DebugOp{-1, nil}
)

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	Name string
	Func func(d *Debugger, arg string) DebugOp
}

func (*Cmd) Match

func (cmd *Cmd) Match(prefix string) bool

type Cmds

type Cmds map[byte]Cmd

func (Cmds) Lookup

func (cmds Cmds) Lookup(prefix string) (Cmd, bool)

type DebugOp

type DebugOp = fast.DebugOp

type Debugger

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

func (*Debugger) At

func (d *Debugger) At(interp *fast.Interp, env *fast.Env) DebugOp

func (*Debugger) Backtrace

func (d *Debugger) Backtrace(arg string) DebugOp

func (*Debugger) Breakpoint

func (d *Debugger) Breakpoint(interp *fast.Interp, env *fast.Env) DebugOp

func (*Debugger) Cmd

func (d *Debugger) Cmd(src string) DebugOp

execute one of the debugger commands

func (*Debugger) Eval

func (d *Debugger) Eval(src string) ([]xreflect.Value, []xreflect.Type)

func (*Debugger) Help

func (d *Debugger) Help()

func (*Debugger) Repl

func (d *Debugger) Repl() DebugOp

func (*Debugger) Show

func (d *Debugger) Show(breakpoint bool) bool

func (*Debugger) Vars

func (d *Debugger) Vars()

show local variables

Jump to

Keyboard shortcuts

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