How to Debug Ethereum Smart Contracts

Debugging a transaction in blockchain is different from debugging a traditional application build on C++ or JavaScript as you are not running a code in real time, instead in blockchain a historic transaction execution is mapped with associate code to debug a transaction.

A Smart contract is a piece of code run on the top of blockchain, smart contracts needs to make sense in precise manner, debugging a Smart contract is analyzing a transaction step by step how functions internally work and proceed or where the actual transaction has failed.

Original source
https://hackernoon.com/how-to-debug-ethereum-smart-contracts-7efd883d8cc3?source=rss----3a8144eabfe3---4

Add comment

Please Sign in to be able to leave comments.