I have the same problem that sometimes my app doesn't show up in the process list properly but just with a ? I figured that it might depend on where I started the app from, i.e. from within my IDE (IntelliJ or Eclipse) or if I start if from the device, i.e. right after a fresh reboot of the device, and then also depends whether I'm using the standalone or DDMS in Eclipse.
Then, just to check on this issue, I run DDMS both in Eclipse and standalone parallel, and noticed that the processes are identified differently, although the process id's in the process list are identical, same with the logcat. Only difference is that the process name doesn't show up in Eclipse DDMS, and it's not DDM-aware. You can see a screenshot of what I'm talking about here: http://tinyurl.com/ddmsprob > If a process doesn't want to talk toDDMS, because it thinksDDMSis > already attached (e.g. run stand-aloneDDMSand Eclipse at the same > time), you'll see "?" sinceDDMScan't query the VM for the real name Faden: why can I not have two DDMS running / DDMS not able to get the real name then (technically)? On Mar 24, 4:09 am, fadden <[email protected]> wrote: > On Mar 23, 3:37 am, Ne0 <[email protected]> wrote: > > > You are right Bob, though the bit that worries me is that the name > > never appears! The ? process appears then disappears beforeDDMSgets > > a chance to display the name of the process, which is why it starts > > ringing virus alarm bells! It could be anything. Would just like to > > know what though! > > "It's not a tumor." > > The application pops into existence before its name is set. If the > name is never set, it remains "?". > > If you run a command like "adb shell am blah blah" you can see it > appear inDDMSwith a "?". > > If you run a stand alone VM (http://android.git.kernel.org/?p=platform/ > dalvik.git;a=blob_plain;f=docs/hello-world.html;hb=HEAD) with debugger > support enabled, you'll see "?", since it's not an Android app and > hence doesn't have a name. > > If a process doesn't want to talk toDDMS, because it thinksDDMSis > already attached (e.g. run stand-aloneDDMSand Eclipse at the same > time), you'll see "?" sinceDDMScan't query the VM for the real name. > > If something gets screwed up inside the VM -- in recent builds you > could manage this by connectingDDMSand then disconnecting + > reconnecting the USB cable -- you'll see "?". > > Usually some combination of logcat output andDDMSoutput reveals the > cause. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

