debugger

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FunctionBlacklist = []string{
	"arguments",
	"Object",
	"console",
}

Functions

This section is empty.

Types

type Debugger

type Debugger struct {
	Engine          *engine.Engine
	Logger          *logrus.Logger
	Prompt          *prompt.Prompt
	BuiltInFuncs    map[string]*generator.FunctionDef
	REPLSuggestions []prompt.Suggest
}

func New

func New(name string) *Debugger

func (*Debugger) DebugConsole

func (d *Debugger) DebugConsole(call otto.FunctionCall) otto.Value

func (*Debugger) InteractiveSession

func (d *Debugger) InteractiveSession()

func (*Debugger) LoadScript added in v0.0.10

func (d *Debugger) LoadScript(script, filename string) error

func (*Debugger) SessionCompleter

func (d *Debugger) SessionCompleter(p prompt.Document) []prompt.Suggest

func (*Debugger) SessionExecutor

func (d *Debugger) SessionExecutor(in string)

func (*Debugger) SetupDebugEngine

func (d *Debugger) SetupDebugEngine()

Jump to

Keyboard shortcuts

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