黑莓调试输出
当黑莓手机通过 USB 连接并处于调试模式时,对 System.out.println() 的调用在日志中可见。
但是有没有办法即使从不处于调试模式的程序中也可以访问“stdout”?也许附加一些命令行程序?
When a Blackberry phone is connected via USB and in debug mode, calls made to System.out.println() are visible in the log.
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我通过创建一个网络日志记录功能解决了这个问题。
I worked around the issue by creating an over-the-network logging function.
如果您已安装 JDE 并通过 USB 插入 BB:
JavaLoader.exe -usb eventLog > theLog.txt
这对于在开发期间访问日志通常更方便。
但无法以编程方式获取内容。
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.