Skip to content

Question: How to debug a contract on era-compiler-llvm #18

Closed Answered by MexicanAce
ThreeAndTwo asked this question in General
Discussion options

You must be logged in to vote

Hi @ThreeAndTwo 👋

One way to further debug issues like this is to use the new In-Memory Node and point your contract against a local node that prints out additional information.

Example (if you'd like to see the full stack of call traces for each transaction in a human readable format):

era_test_node --show-calls=all --resolve-hashes run

If you want to dig deeper, you can also test bootloader and system contracts (documentation available here)

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@ThreeAndTwo
Comment options

@IraChek

This comment was marked as spam.

@MexicanAce
Comment options

Answer selected by MexicanAce

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
compiler Question for compiling
8 participants