Blackberry debug output
When a Blackberry phone is connected via USB and in debug mode, calls made to System.out.println() are visible in the log.开发者_C百科
But is there any way to get access to "stdout" even from a program not in debug mode? Attaching with some command line program perhaps?
I worked around the issue by creating an over-the-network logging function.
If you have the JDE installed and BB plugged in via a USB:
JavaLoader.exe -usb eventLog > theLog.txt
This is often much more convenient for accessing the logs during dev. There's no way to programmatically get the content though.
精彩评论