algorand / algorand/go-algorand
TEAL Debug Adapter
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 537
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 18
Description
Dapp developers would like to be able to debug their smart contract programs just as they do any other programs they write. We have been working towards this goal, adding the TEAL-PC and pyteal-TEAL maps, introducing the simulate feature, and most recently introducing the execution trace to simulate calls.
This epic is to implement a Debug Adapter that interprets the execution trace, ultimately allowing devs to walk through their code using the normal debugging interface of their IDE (an IDE that supports the [Debug Adapter Protocol](https://microsoft.github.io/debug-adapter-protocol/), e.g. VS Code). There is other coordination required to provide the simulate execution trace to the Debug Adapter; this part is out of scope of this epic. This epic assumes that the Debug Adapter has access to the TEAL file, the TEAL-PC map, and the execution trace.
Ultimately devs will want to debug in the language they wrote their program in (pyteal, tealish, etc.) so this work is a milestone towards that.
Contributor guide
Assessment
This issue has not been assessed yet.