Closed treasersimplifies closed 5 years ago
Have you run nodeos with --contracts-console
option? (or you can add contracts-console = true
in your config.ini
for nodeos)
Have you run nodeos with
--contracts-console
option? (or you can addcontracts-console = true
in yourconfig.ini
for nodeos)
How silly I am ! It works, thank you !
Wait... a new problem appear:
when I use print("\n");
the code behind it didn't work any more.
Look at #5647
It sounds like your problem is solved. Next time when you run into a problem, start with https://eosio.stackexchange.com/ to get help. GitHub issues should only be made once it is determined that there is an actual problem in the software.
听起来你的问题已经解决了。下次遇到问题时,请从https://eosio.stackexchange.com/开始获取帮助。只有在确定软件中存在实际问题后才能进行GitHub问题。
It sounds like your problem is solved. Next time when you run into a problem, start with https://eosio.stackexchange.com/ to get help. GitHub issues should only be made once it is determined that there is an actual problem in the software.
v1.7.4 has add contracts-console = true in config.ini, but still do not print log in nodeos
Have you run nodeos with
--contracts-console
option? (or you can addcontracts-console = true
in yourconfig.ini
for nodeos)
v1.7.4 has add contracts-console = true in config.ini, but still do not print log in nodeos
testing codes:
when I run the following cmd in my shell:
no output from print function.I don't know where is wrong.I have tried with many smart contracts, and print function is not working in all of them. And the above test hello-world program used to have print output initially when I use EOS development environment not the current production environment.