2

I'm an Android noob teaching myself debugging in the Eclipse (Galileo 3.52) environment.

I have a little "hello world" app that runs fine in the emulator. So now I want to practice debugging by setting breakpoints, looking at variablaes, etc.

But Run > Debug As... has nothing but a grayed-out "(nothing applicable)" entry. What does that mean and how do I configure it to say "Android application"?

I'm guessing it has something to do with the Run > Debug Configurations dialog, but it's not obvious to me.

Thanks in advance.

Peter Nelson
  • 5,917
  • 17
  • 43
  • 62
  • 1
    Are you sure you have a java file selected and not an XML one or something? – Falmarri Oct 20 '10 at 04:22
  • 1
    Also, make sure that the application is marked as debuggable in the Android Manifest: http://developer.android.com/guide/topics/manifest/application-element.html#debug – Tyler Oct 20 '10 at 05:44
  • 1
    Yes, the java file is the one that's selected. The debuggable attribute was not set at all. I set it to true, cleaned and rebuilt, and nothing changed. (BTW if it's not set at all what's the default behavior?) – Peter Nelson Oct 20 '10 at 11:52
  • Try this: http://stackoverflow.com/questions/9268081/debuging-simple-android-project/9273288#9273288 – Vins Feb 15 '12 at 02:09

0 Answers0