-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: puya debugging support; improved source map management (#37)
* feat: wip on updating source registry assembly * chore: wip - initial drafts around refined ui * feat: initial draft on puya support changes * feat: draft support for prompting for tmpl vars * chore: adding branch based avm package * refactor: loading from txn group sources * chore: testing ci * chore: testing ci * chore: puya and teal example * chore: passing contents of the sourcemap and its containing folder * chore: removing tmpl var tweaks; importing ProgramSourceEntryFile from avm debugger * chore: refining examples structure * chore: transferring the advanced examples from avm-debug * chore: downgrading types vscode to patch npm package Fixes the error thrown during npm package invocation: ERROR @types/vscode ^1.92.0 greater than engines.vscode ^1.80.0. Either upgrade engines.vscode or use an older @types/vscode version * fix: relative path resolution in monorepos * docs: update docs url in markdown * docs: adding extra docs into readme on debugging puya * chore: update README.md Co-authored-by: Neil Campbell <[email protected]> * docs: addressing pr comments * chore: bump debug extension to 0.3.0 * docs: update guideline to refer to v2 and v6 of utils py|ts until v7 ts is out --------- Co-authored-by: Neil Campbell <[email protected]>
- Loading branch information
1 parent
372ee5a
commit 4a740db
Showing
63 changed files
with
185,063 additions
and
9,462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,3 +66,5 @@ out/ | |
|
||
# webdriver.io | ||
.wdio-vscode-service/ | ||
|
||
examples/multiRootWorkspace/.algokit/sources/sources.avm.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ coverage | |
**/generated/types.ts | ||
# don't format ide files | ||
.idea | ||
**/*sources.avm.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!.algokit/sources/sources.avm.json |
8 changes: 8 additions & 0 deletions
8
examples/multiRootWorkspace/puya/.algokit/sources/opup/approval.teal.map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"version": 3, | ||
"sources": [ | ||
"opup.teal" | ||
], | ||
"names": [], | ||
"mappings": ";AACA" | ||
} |
2 changes: 2 additions & 0 deletions
2
examples/multiRootWorkspace/puya/.algokit/sources/opup/opup.teal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#pragma version 6 | ||
int 1 |
12 changes: 12 additions & 0 deletions
12
examples/multiRootWorkspace/puya/.algokit/sources/sources.avm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"txn-group-sources": [ | ||
{ | ||
"sourcemap-location": "../../ProofOfAttendance.approval.puya.map", | ||
"hash": "9OQMiPyi2J20NA7qdxurd6RlJi8dTAlzNxPzdR7pjPc=" | ||
}, | ||
{ | ||
"sourcemap-location": "opup/approval.teal.map", | ||
"hash": "p0zHRDBy7V/S2TDcAaXYEd2OF8KSxV/1y0ceYEL6qxU=" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "avm", | ||
"request": "launch", | ||
"name": "Debug Puya App", | ||
"simulateTraceFile": "${workspaceFolder}/debug_traces/simulate-response.trace.avm.json", | ||
"programSourcesDescriptionFile": "${workspaceFolder}/.algokit/sources/sources.avm.json", | ||
"stopOnEntry": true | ||
} | ||
] | ||
} |
Oops, something went wrong.