android - eclipse调试中没有显示变量

标签 android eclipse debugging

我看到很多类似的问题,但没有找到解决方案,所以我问:

当我调试我的 android 应用程序时,“变量”窗口中没有显示任何变量。控制台显示调试器未完全加载。

[2012-02-21 22:23:29 - Watcher] Android Launch!
[2012-02-21 22:23:29 - Watcher] adb is running normally.
[2012-02-21 22:23:29 - Watcher] Performing com.workspace.watcher.WatcherActivity activity launch
[2012-02-21 22:23:29 - Watcher] Automatic Target Mode: using device 'F4559C737D65'
[2012-02-21 22:23:32 - Watcher] Application already deployed. No need to reinstall.
[2012-02-21 22:23:32 - Watcher] Starting activity com.workspace.watcher.WatcherActivity on device F4559C737D65
[2012-02-21 22:23:33 - Watcher] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.workspace.watcher/.WatcherActivity }
[2012-02-21 22:23:34 - Watcher] Attempting to connect debugger to 'com.workspace.watcher' on port 8601

问题是什么?我该如何解决?

最佳答案

在聊天中与 Chorche 交谈后,我们确定问题在于他没有设置任何断点,因此没有可读取的变量。

这似乎是关于使用 eclipse 进行调试的很好的解释/教程:http://www.vogella.de/articles/EclipseDebugging/article.html

关于android - eclipse调试中没有显示变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9384231/

相关文章:

android - 如何在 CalendarView 中仅显示日期栏?

android - 无法均匀缩放 9patch 图像

android - 抑制谷歌地图 Intent 选择对话框

eclipse - 在IntelliJ IDEA 10中显示 "raw type"警告列表

c++ - Qt Creator调试器日志窗口不必要地转义了许多字符,使输出分心

android - 多 View OnTouch 事件

java - 当代码不是项目时将代码导入到 Eclipse 中

eclipse - 从eclipse访问visualsvn服务器

vba - 单元格内容自动移动到另一张纸上的同一单元格

python - PyCharm 的调试器在点击 copy.deepcopy() 时放弃