Coder Social home page Coder Social logo

algorand / avm-debugger Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 9.0 2.01 MB

Debug Adapter Protocol Debugger for the Algorand Virtual Machine

License: Other

TypeScript 20.40% JavaScript 79.60%
algorand algorand-teal avm debug-adapter-protocol debugger teal vscode-extension

avm-debugger's People

Contributors

ahangsu avatar aorumbayev avatar jasonpaulos avatar neilcampbell avatar tonyfloatersu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

avm-debugger's Issues

General behavior cleanup

This catch-all issue should fix the following:

  • Remove exception breakpoint filters (or only have one for inner txns)
  • Remove evaluate on hover support
  • Fix TEAL syntax highlighting
  • If available, show UTF-8 values for byte strings instead of ASCII
  • Enable/be compatible with web builds
  • Rename from TEAL Debugger to AVM Debugger
  • Have a separate package.json for debug adaptor code so that it can be packed and released separately

Improve source map support

Add support for source map columns, and other improvements made available by algorand/js-algorand-sdk#834

Also, use the sourcemap "sources" key to find source files, instead of the "file-location" key from the program source description file.

Handle app and LogicSig failures properly

Right now program failures are not properly handled. This issue is to make sure these cases are handled properly and result in the error being displayed by the debugger at the appropriate time. Needs test coverage as well.

Improve how the debugger gets invoked

Specifically,

  • Stop loading launch.json at initialization -- instead consume it the standard way, once debugging starts
  • launch.json should contain only two items: programSourceDescriptionFile and program simulateTraceFile (which will be the simulation trace file)
  • Remove debug icon from .teal files (this is misleading, since traces the main "program" that gets debugged)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.