debugger

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: AGPL-3.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Debugger

type Debugger struct {
	VM        *engine.Engine
	Logger    logger.Logger
	OldLogger logger.Logger
}

Debugger is a wrapper type for handling interactive debug consoles in the genesis engine

func New

func New(e *engine.Engine) *Debugger

New returns a new debugger object wrapping the provided engine

func (*Debugger) AvailableConsts added in v0.1.1

func (d *Debugger) AvailableConsts() map[string][]string

AvailableConsts generates a const symbol table for the debugger

func (*Debugger) AvailableFuncs added in v0.1.1

func (d *Debugger) AvailableFuncs() map[string][]string

AvailableFuncs returns the current debugger's symbol table

func (*Debugger) AvailableTypes added in v0.1.1

func (d *Debugger) AvailableTypes() map[string][]string

AvailableTypes generates a type table for the debugger

func (*Debugger) AvailableVars added in v0.1.1

func (d *Debugger) AvailableVars() map[string][]string

AvailableVars generates a var symbol table for the debugger

func (*Debugger) InjectDebugConsole added in v0.1.1

func (d *Debugger) InjectDebugConsole() error

InjectDebugConsole injects the DebugConsole command into the runtime

Jump to

Keyboard shortcuts

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