> > I sometimes just want to print trace output from the C/C++ side and I do not > care about the stack trace info in that scenario. I already do know exactly > where the messages come from and the stack unnecessarily bloats the output by > 1-2 orders of magnitude - sometimes slowing the browser to a crawl due to the > amount of data, and unnecessarily complicating the actual use of the log > data.. > > How can EMSCRIPTEN's default impl of always including the stack info be > overridden to just print my plain fprint messages?
Instead of printf use std::cout << "your message" << yourObject << std::endl, if you are in C++. That only prints that message, nothing else (and does good formatting). I use that currently for debugging. Mike -- www.soft-gems.net -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/A4EBC6FD-6F59-40BA-96C4-4799BC92B16C%40googlemail.com.