debug

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebuggerEnvironment

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

func NewDebuggerSequenceTrace

func NewDebuggerSequenceTrace(addresses map[string]TypeAndVersion, outputFmt sequence.OutputFmt) DebuggerEnvironment

func NewDebuggerTreeTrace

func NewDebuggerTreeTrace(addresses map[string]TypeAndVersion) DebuggerEnvironment

func (DebuggerEnvironment) DumpReceived

func (d DebuggerEnvironment) DumpReceived(m *tt.ReceivedMessage, verbose ...bool) string

Outputs a nicely indented string representation of the trace tree, with the exit codes, bounced tags and sender-receiver

func (DebuggerEnvironment) DumpSent

func (d DebuggerEnvironment) DumpSent(m *tt.SentMessage, verbose ...bool) string

func (DebuggerEnvironment) NewInstance

func (d DebuggerEnvironment) NewInstance() debugger

func (DebuggerEnvironment) RegisterDecoders

func (d DebuggerEnvironment) RegisterDecoders(decoders ...lib.ContractDecoder)

type SimpleBody

type SimpleBody string

func (SimpleBody) Compact

func (b SimpleBody) Compact() string

func (SimpleBody) Describe

func (b SimpleBody) Describe() string

type SimpleInfo

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

func NewSimpleInfo

func NewSimpleInfo(name, body string) SimpleInfo

func NewSimpleInfoUnknown

func NewSimpleInfoUnknown(body string) SimpleInfo

func (SimpleInfo) Body

func (i SimpleInfo) Body() lib.BodyInfo

func (SimpleInfo) Name

func (i SimpleInfo) Name() string

type TypeAndVersion

type TypeAndVersion struct {
	Type    string         `json:"Type"`
	Version semver.Version `json:"Version"`
}

Jump to

Keyboard shortcuts

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