I'm trying to debug a transaction on BSC network, the contract is not written by myself and it's not open source, is it possible to debug the transaction at assembly level?
I tried the "Remix Debugger" from "bscscan.com", it doesn't work and shows error like
Access to XMLHttpRequest … has been blocked by CORS policy: …
Also tried truffle: truffle debug 0x..tx_id... --network bsc
, it shows error:
Error [ERR_UNHANDLED_ERROR]: Unhandled error. ({ code: -32000, message: 'header not found' })
How to do that?
Best Answer
There is none, so I made one: https://github.com/aj3423/edb