Skip to content

This is the old Algorand Developer Portal. Please head over to dev.algorand.co to explore our newly rebuilt documentation site. Please excuse us as we continue to transition content to the new portal

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