How to debug playbook simulator?

2019-07-21 12:59发布

问题:

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.

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.

回答1:

You can use the standard

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

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.