我看到很多类似的问题,但找不到解决方案,所以我问:
当我正在调试我的Android应用程序时,NONE中的变量显示在" Variables"窗口。控制台告诉我debuger没有完全加载。
[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
有什么问题?我该如何解决?
答案 0 :(得分:1)
在聊天中与Chorche交谈后,我们确定问题是他没有设置任何断点,因此没有可读的变量。
这似乎是一个关于使用eclipse调试的非常好的解释/教程:http://www.vogella.de/articles/EclipseDebugging/article.html