debuggers

package
v0.0.0-...-412c607 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 25 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogInterceptor

type LogInterceptor struct {
	ComputationIntensities map[uint64]uint64 `json:"computationIntensities"`
	MemoryIntensities      map[uint64]uint64 `json:"memoryIntensities"`
	// contains filtered or unexported fields
}

func NewLogInterceptor

func NewLogInterceptor(log zerolog.Logger, directory string) *LogInterceptor

func (*LogInterceptor) Close

func (l *LogInterceptor) Close() error

func (*LogInterceptor) Write

func (l *LogInterceptor) Write(p []byte) (n int, err error)

type ProfileBuilder

type ProfileBuilder struct {
	Profile *profile.Profile
	// contains filtered or unexported fields
}

func NewProfileBuilder

func NewProfileBuilder(directory string) *ProfileBuilder

func (*ProfileBuilder) Close

func (p *ProfileBuilder) Close() error

func (*ProfileBuilder) OnCadenceStatement

func (p *ProfileBuilder) OnCadenceStatement(fvmEnv fvmRuntime.Environment, inter *interpreter.Interpreter, statement ast.Statement)

type RemoteDebugger

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

func NewRemoteDebugger

func NewRemoteDebugger(
	view *debugger.RemoteView,
	chain flow.Chain,
	directory string,
	logger zerolog.Logger) *RemoteDebugger

func (*RemoteDebugger) Close

func (d *RemoteDebugger) Close() error

func (*RemoteDebugger) RunScript

func (d *RemoteDebugger) RunScript(code []byte, arguments [][]byte) (value cadence.Value, scriptError, processError error)

func (*RemoteDebugger) RunTransaction

func (d *RemoteDebugger) RunTransaction(txBody *flow.TransactionBody) (txErr, processError error)

RunTransaction runs the transaction given the latest sealed block data

type TransactionDebugger

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

func NewTransactionDebugger

func NewTransactionDebugger(
	txResolver debugger.TransactionResolver,
	archiveHost string,
	dpsClient dps.APIClient,
	chain flow.Chain,
	logger zerolog.Logger) *TransactionDebugger

func (*TransactionDebugger) RunTransaction

func (d *TransactionDebugger) RunTransaction(ctx context.Context) (txErr, processError error)

Jump to

Keyboard shortcuts

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