DDMS不显示线程设备 [英] DDMS Not Showing Threads From Device
问题描述
我想使用 DDMS
功能在的Eclipse
在我的Android应用程序检查内存泄漏。当我启动一个模拟装置,螺纹正常显示的模拟设备,从8600元起。
I'd like to check for memory leaks in my Android app using the DDMS
feature in Eclipse
. When I launch an emulated device, the threads display properly for the emulated device, starting with 8600 and up.
然而,当我将我的Droid到PC,设备显示出来就好在DDMS。该logcat的正确生成,我可以查看文件结构。但是,线程不显示。我得到的主题窗格中没有选择的客户端,并有旁边的设备列表中没有下拉图标。
However, when I connect my Droid to the PC, the device shows up just fine in DDMS. The logcat is generated correctly, and I can view the file structure. However, threads do not display. I get "no client selected" in the Threads pane, and there is no drop-down icon next to the device listing.
我是否需要改变Eclipse的一些特殊设置?这可能是驱动程序问题?
Do I need to change some particular setting in Eclipse? Is this maybe a driver issue?
推荐答案
Eclipse的preferences(OSX)>安卓> DDMS>检查默认情况下启用主题更新
Eclipse Preferences (OSX) > Android > DDMS > check Thread Updates Enabled by Default
加入Android设备以获取设备锅(E)如上所述
Add Android Device view to get device pan(e) noted above
设置的android:可调试=真(二G的)的应用程序标签如上所述
Set android:debuggable=true (two g's) in app tag as noted above
运行在模拟器中的应用程序
Run your app in emulator
在设备窗格中选择设备
点击更新按钮线程
享受
这篇关于DDMS不显示线程设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!