【问题标题】:No variables shown in eclipse debuggingeclipse调试中没有显示变量
【发布时间】:2012-02-21 19:55:34
【问题描述】:

看到很多类似的问题,但是没有找到解决办法,所以问:

当我调试我的 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

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

【问题讨论】:

  • 我猜你打开了几个 adb 连接。这就是它无法附加调试器的原因。尝试关闭所有 adb 连接。

标签: android eclipse debugging


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-29
    • 1970-01-01
    • 2014-12-23
    • 2015-09-14
    • 1970-01-01
    • 2016-06-24
    • 1970-01-01
    相关资源
    最近更新 更多