I have posted a simple token contact on Ropsten and have a basic function to Buy tokens and now due to some error EVM is reverting the transaction ..


I would like to debug the transaction and wnat to check out the run time states along with why it is fail in interacting way like we do other dubugging on Node etc..

Is there a good way to dubug and investigate the code.

Regards Dev


For debugging live contracts I recommend using remix.


Connect to ropsten using your metamask browser and load your contract.

Also remix has a debug mode.


it's a confuse question to a solidity developer. I think there has no way to debug a live contract already deployed on any testnet. remix offer a debug method to check the storage and memory varibles, but it need you to use remix-ide as evm. you can read their documents to learn how to debug. remix debug tab

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.