algorand / algorand/go-algorand

TEAL Debug Adapter

未关闭
#5,537 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Epic Team Scytale
主要语言
Go
星标
1.4k
派生
537
平均合并
1 天 7 小时
30 天内合并 PR
18

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。