How to debug in case of exception?

tcimolitcimoli Cagliari - ItalyMember Posts: 35
I have written a contract with a methode which throw exception, to investigate the gas consumption.
When I invoque that methode, the exception is thrown but no transaction is created.
Why? How do I debug it?


  • YannYann Member Posts: 40
    hmm yes there's a work around but this have really to be improved:

    create a transaction that does not throws (by removing the content). It will be added.
    repaste the content, rebuild the whole scenario, then you should be able to debug it.
  • tcimolitcimoli Cagliari - ItalyMember Posts: 35
    Unfortunately, when I rebuild the scenario, that transaction is visible but not debuggable at all.
Sign In or Register to comment.