如何调试模拟器的剧本? [英] How to debug playbook simulator?

查看:283
本文介绍了如何调试模拟器的剧本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经转换我的Andr​​oid应用到剧本吧;它的工作原理(有很多图形化的bug);不过,我想知道是否有可能,而它的运行调试软件。

I've converted my Android app to a playbook bar; it works (with a lot of graphical bugs); however I'd like to know if it is possible to debug the software while it's running.

当然,我不问了亚行相当于奢侈品,但最起码​​,我希望得到一些printf的。

Of course, I don't ask for the "luxury" of an adb equivalent, but at the very least, I'd like to get some printf.

推荐答案

您可以使用标准

Log.d("Tag", "Message text");

测井方法和观看LogCat中的信息,并设置一个断点,并在Eclipse中开始调试。结果
我只是证实此事,断点被击中。

logging methods and watch the info in LogCat, as well as set a breakpoint and start debugging in Eclipse.
I just verified it, the breakpoint was hit.

这篇关于如何调试模拟器的剧本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆