Telegram Group & Telegram Channel
🚀 Announcing FunC Debugger: Debug TON Smart Contracts with Ease!

We're excited to introduce the FunC Debugger – a powerful tool for TON developers to debug smart contracts efficiently! Say goodbye to guesswork and hello to streamlined contract debugging with real-time insights.

Key Features:
🔹 Stepping: Execute code line-by-line (Step In/Over/Out)
🔹 Breakpoints: Pause execution at specific code points
🔹 Variable Inspection: View contract state and variables in real-time
🔹 Call Stack: Track function execution flow
🔹 No bytecode modification: Unlike an earlier beta release of the debugger, this version does not modify the bytecode, so code hashes and gas usage matches exactly

How to Install & Use

1) Create a new project, or upgrade dependencies (blueprint 0.37.0, sandbox 0.34.0, and func-js 0.10.0) for existing projects
2) Modify the test: add blockchain.debug = true or smartContract.setDebug(true) before the section you'd like to debug; optionally, increase the test's timeout (to avoid errors in the console)
3) Add debugInfo: true to .compile.ts files of the contracts that you would like to debug
4) Install VS Code extension "TVM Debugger"
5) Launch the test
6) Connect using the extension (Cmd+Shift+P / Ctrl+Shift+P -> Debug TVM contract) once prompted

You can also take a look at the videos for a short demo of the debugger, and a demo of how to install it into a new project.

If you encounter any problems, please do not hesitate to open issues in the sandbox github page.

Happy debugging!



tg-me.com/thetontech/128
Create:
Last Update:

🚀 Announcing FunC Debugger: Debug TON Smart Contracts with Ease!

We're excited to introduce the FunC Debugger – a powerful tool for TON developers to debug smart contracts efficiently! Say goodbye to guesswork and hello to streamlined contract debugging with real-time insights.

Key Features:
🔹 Stepping: Execute code line-by-line (Step In/Over/Out)
🔹 Breakpoints: Pause execution at specific code points
🔹 Variable Inspection: View contract state and variables in real-time
🔹 Call Stack: Track function execution flow
🔹 No bytecode modification: Unlike an earlier beta release of the debugger, this version does not modify the bytecode, so code hashes and gas usage matches exactly

How to Install & Use

1) Create a new project, or upgrade dependencies (blueprint 0.37.0, sandbox 0.34.0, and func-js 0.10.0) for existing projects
2) Modify the test: add blockchain.debug = true or smartContract.setDebug(true) before the section you'd like to debug; optionally, increase the test's timeout (to avoid errors in the console)
3) Add debugInfo: true to .compile.ts files of the contracts that you would like to debug
4) Install VS Code extension "TVM Debugger"
5) Launch the test
6) Connect using the extension (Cmd+Shift+P / Ctrl+Shift+P -> Debug TVM contract) once prompted

You can also take a look at the videos for a short demo of the debugger, and a demo of how to install it into a new project.

If you encounter any problems, please do not hesitate to open issues in the sandbox github page.

Happy debugging!

BY TonTech


Share with your friend now:
tg-me.com/thetontech/128

View MORE
Open in Telegram


TonTech Telegram | DID YOU KNOW?

Date: |

Telegram announces Search Filters

With the help of the Search Filters option, users can now filter search results by type. They can do that by using the new tabs: Media, Links, Files and others. Searches can be done based on the particular time period like by typing in the date or even “Yesterday”. If users type in the name of a person, group, channel or bot, an extra filter will be applied to the searches.

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

TonTech from us


Telegram TonTech
FROM USA