TGViewer
TON Tech TON Tech @tontech · 24.3K subscribers
Post #127 30.2K
🚀 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!
  • 🔥 15
  • ❤ 10
More from @tontech
  1. Jun 15, 2026💎 Toncoin → Gram The rebranding is in progress 🔥
  2. Jun 10, 2026Read more about all the updates, including new dApp scenarios, Structured items, Trace ID,…
  3. Jun 10, 2026TON Connect Bridge v3. The new bridge introduces horizontal scaling and shared infrastruct…
  4. Jun 10, 2026Embedded requests. Wallet connection and action execution can now be combined into a singl…
  5. Jun 10, 2026Gasless transactions. Applications can now cover transaction fees for users and accept pay…
  6. Jun 10, 2026TON Connect v3. TON Connect has received a major update with gasless transactions, connect…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →