faceplant wrote:
I don't know how the Edison Arduino software is setup, but have you tried just doing a printf, or outputting to std::cout / std::cerr?
This doesn't seem to work - at least not by default. Tried this already on Edison
- serial sniffer? Did a quick test with slsnif(1): Serial line sniffer - Linux man page. It compiles fine but doesn't seem to work on Edison out of the box.
- you could rather write to a log file (something like my "exitError" function in IoT* - Efficient communication between Arduino* and Linux native processes | Intel® Developer Zone)
- you might be able to use "strace -e write=<file descriptor>" and e.g. attach it to the running sketch