How to debug contracts?

When writing a contract, the output of aeproject compile is completely unhelpful:

===== Compiling contracts =====

Contract 'foo.aes has not been compiled'
reason:
undefined

Is there a way to get a more specific reason than undefined?

1 Like

Hey, @MartinG or @metselder should be able to help here :slight_smile:

1 Like

@hendi1 unfortunately the output is not from aeproject but the compiler itself. We can’t override messages of the compiler. Can you share more information about your contract so we can try to help you with the failing compilation.

Best,
Martin

2 Likes