ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
271 stars 122 forks source link

FunC debugger #703

Open PanForPancakes opened 1 month ago

PanForPancakes commented 1 month ago

Summary

A visual debugger that e.g. can debug given on-chain transaction step-by-step (if on-chain code is the same as local one)

Context

Currently it is really difficult to deal with code when it fails, TVM error codes give extremely shallow information about underlying issue, and sometimes it can get really tricky to solve the issue. A visual debugger could help a lot, and especially FunC development newcomers.

Milestone draft:

  1. showing user a func line that caused tvm error in given transaction
  2. step-by-step tvm code execution
  3. blueprint sdk integration

References

N/A

Estimate suggested reward

10,000$ (personal opinion & to be negotiated)

Gusarich commented 1 month ago

This is already being made by @krigga as I know

krigga commented 1 month ago

Indeed it's in the works. Could still be quite some time until it's ready though.

PanForPancakes commented 1 month ago

Indeed it's in the works. Could still be quite some time until it's ready though.

That's really nice to know; so that being said, if this bounty will get accepted - @krigga, feel free to lead it