algorandfoundation / algokit-avm-vscode-debugger

A Visual Studio Code extension for debugging TEAL using AVM trace files via the AVM debug adapter
MIT License
10 stars 2 forks source link

feat: puya debugging support; improved source map management #37

Open aorumbayev opened 3 weeks ago

aorumbayev commented 3 weeks ago

Proposed Changes

Further notes

aorumbayev commented 2 weeks ago

@daniel-makerx @neilcampbell , pushed latest tweak that filters out source maps to pass to DAP based on priority (only keep Puya if exists -> else Teal -> else Legacy teal prefixed with .tok). Other than that it still passes files however sourcemap registry file is now curated (only contains sourcemaps relevant for the executing trace -> after debug session is done it removes the file from users filesystem ).

Also fixed e2e tests in CI pipeline, latest VSCode version seems to act and run slower than previous iterations (probably due to the fact that wdio is relying on a wdio related vscode plugin which prevents us from being able to upgrade to latest stable wdio version).

aorumbayev commented 3 days ago

@daniel-makerx added imports of the ProgramSourceEntryFile and ProgramSourceEntry from avm debugger instead of having the algokit extension replicate the interface