How to debug a smart contract

Check out the latest on how to debug a smart contract from truffle directly.

For those not familiar with truffle - it's a powerful framework that simplifies developing smart contracts. You should definitely check it out.

This latest update brings variable debugging, which allows you to determine the smart contract's state.

Thank you very much @penguin I had no idea this was available. Especially "you now have the ability to perform variable inspection on your contracts"

This is an incredibly important topic because the core value of smart contracts running on a blockchain is that you can check them out before investing in them with the solid knowledge that they're not going to get changed in the future. But this means you've got to be really confident of your code before publishing it.

What Truffle have done for the community by providing this tool is extremely valuable.

Log in to reply

Enjoyed this post? Consider registering for more interesting content!