开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜