Android的调试 - 观察点Android

2023-09-08 09:59:22 作者:共赴春秋

我想使用观察点在Eclipse中调试Android的问题。我设置一个观察点通过设置我的变量定义一个断点。然而执行从未暂停即使变量被访问。有没有其他人碰到过这个问题吗?可能有人请尝试设置一个变量观察点在Android项目,看看是否可行?

I am trying to use watchpoints to debug an Android problem in Eclipse. I'm settings a watchpoint by settings a breakpoint on my variable definition. However the execution never pauses even though the variable is accessed. Has anyone else come across this problem? Could someone please try setting a watch point on a variable in an Android project and see if it works?

感谢

推荐答案

如果您使用的是手机,确保USB调试启用。

If you're using a handset, make sure USB debugging is enabled.

继承人的一个方便的如何做视频。

Heres a handy how-to video.