TVM Debugger
I have just released an early version of TVM Debugger, which will allow developers to debug their TON contracts as they would debug any regular program - line by line, with breakpoints and variable inspection.
You are welcome to try it out - just look at this example repo.
If you have any feedback, suggestions, bug reports, or anything else of that sort, do not hesitate to post it in the discussion of this post, or simply DM me.
The implementation of the debugger is definitely a little dirty in some places at the moment, so please don't judge the quality of code too harshly yet.
If you would like to learn about the inner workings of the debugger, or about the features that may be implemented in the future, please read this post.
I have just released an early version of TVM Debugger, which will allow developers to debug their TON contracts as they would debug any regular program - line by line, with breakpoints and variable inspection.
You are welcome to try it out - just look at this example repo.
If you have any feedback, suggestions, bug reports, or anything else of that sort, do not hesitate to post it in the discussion of this post, or simply DM me.
The implementation of the debugger is definitely a little dirty in some places at the moment, so please don't judge the quality of code too harshly yet.
If you would like to learn about the inner workings of the debugger, or about the features that may be implemented in the future, please read this post.
GitHub
GitHub - krigga/tvm-debugger-example
Contribute to krigga/tvm-debugger-example development by creating an account on GitHub.
🔥5👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Here is a short demo of the debugger
👍3
This media is not supported in your browser
VIEW IN TELEGRAM
Global variable inspection
New beta versions of blueprint and sandbox that support global variable inspection have been released. The example repo is already updated.
Note that it is necessary to update both blueprint and sandbox - the change is not backwards compatible. The extension need not be updated.
A short demo is attached.
New beta versions of blueprint and sandbox that support global variable inspection have been released. The example repo is already updated.
Note that it is necessary to update both blueprint and sandbox - the change is not backwards compatible. The extension need not be updated.
A short demo is attached.
🔥5🎉2
Step over and step out
The debugger is updated again - now step over and step out are available. Additionally, call stack is now displayed as well.
The example repo is already updated - there are new versions of sandbox and blueprint. The extension need not be updated.
The debugger is updated again - now step over and step out are available. Additionally, call stack is now displayed as well.
The example repo is already updated - there are new versions of sandbox and blueprint. The extension need not be updated.
🔥3
Non-modifying debugger
Almost a year later, it is done - the debugger that doesn't require bytecode modification is ready and included in the latest sandbox release. It will be announced in the @tontech channel soon.
Almost a year later, it is done - the debugger that doesn't require bytecode modification is ready and included in the latest sandbox release. It will be announced in the @tontech channel soon.
❤2🔥1🥰1