🚀 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!
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:
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!
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