我看到很多类似的问题,但没有找到解决方案,所以我问:
当我调试我的 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/