Sounds like your project's process has not been brought into memory and run just yet, when you're trying to attach.

Two things you could try:

1 - Place this somewhere (where covenient) in your code:

http://developer.android.com/reference/android/os/Debug.html#waitForDebugger()

2 - Create a dummy "main" activity so you can launch your process from Eclipse for debugging.

-- Kostya

03.05.2011 19:02, Douglas Selph ?????:
Well when I try and hit the debug button on any system process (for example, com.android.settings), in the Devices panel, I just get a message saying:

*'No opened project found for com.android.settings. Debug session failed!'*
*
*
It also fails no matter what else you click on. For example, 'com.android.music' or whatever.

This implies to me that you need an opened project associated with the code you want to debug.

The *com.android.settings* process is interacting with my process through an intent. So I am not able to put a stop in my application and step back into the calling settings process because it is happening indirectly.

(By the way, thanks for replying! Even being able to get this off my chest helps!)

--
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


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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

Reply via email to