Skip to content

Create Publication

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types debugging.AVMDebuggerSourceMap

@algorandfoundation/algokit-utils / types/debugging / AVMDebuggerSourceMap

Class: AVMDebuggerSourceMap

types/debugging.AVMDebuggerSourceMap

AVM debugger source map class.

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new AVMDebuggerSourceMap(txnGroupSources): AVMDebuggerSourceMap

Parameters
Name Type
txnGroupSources AVMDebuggerSourceMapEntry[]
Returns

AVMDebuggerSourceMap

Defined in

src/types/debugging.ts:47

Properties

txnGroupSources

txnGroupSources: AVMDebuggerSourceMapEntry[]

Defined in

src/types/debugging.ts:41

Methods

toDict

toDict(): AVMDebuggerSourceMapDict

Converts the source map to a dictionary that can be passed around and then parsed back using AVMDebuggerSourceMap.fromDict.

Returns

AVMDebuggerSourceMapDict

The dictionary

Defined in

src/types/debugging.ts:66


fromDict

fromDict(data): AVMDebuggerSourceMap

Creates a source map from a dictionary of source map data.

Parameters
Name Type Description
data AVMDebuggerSourceMapDict The data
Returns

AVMDebuggerSourceMap

The source map

Defined in

src/types/debugging.ts:56