I have some contracts written in solidity and I am testing in geth on a private blockchain. I am seeking something like a console statement to display variables.
I have been trying to work this out but nothing seems to work.
I have no UI and this is all just examining the contract itself without any UI.
Is there anyway to display variables as the program runs or is there any debugging process using geth?
I have looked at events but I cannot get them to display.
gethis not a development tool, so the short answer is no: there is no way to display the variables as the contract runs. The linked question includes the best alternatives for debugging line by line (especially Remix). If you want help writing the javascript to listen to events, that belongs in a different question. – carver Aug 23 '17 at 16:31