开发者

Blackberry debug output

开发者 https://www.devze.com 2023-02-26 09:02 出处:网络
When a Blackberry phone is connected via USB and in debug mode, calls made to System.out.println() are visible in the log.开发者_C百科

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

精彩评论

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

关注公众号