2

The app works when i run it normally But when i put a breakpoint and run it eclipse pop up window with this content:

source attachment does not contain the source for the file dexfile.class

enter image description here

chrylis -cautiouslyoptimistic-
  • 75,269
  • 21
  • 115
  • 152
user1019872
  • 649
  • 2
  • 9
  • 14
  • 1
    can you supply a screenshot where you put the breakpoint. This sounds like you put it at a weird place. – RvdK Jan 08 '15 at 16:54
  • 1
    The file you are trying to access is out of your project scope. You wont be able to see its code and debug steps inside it unless you have its code attached. – Rohit5k2 Jan 08 '15 at 16:55
  • I m just start a "startActivityForResult" to another activity and get back the info in :onActivityResult" and my breakpoint is in the onActivityResult. – user1019872 Jan 08 '15 at 17:08

1 Answers1

1

Attach the Android source code to your build path, so you can see the java code in the debugger.

Instructions here: Is there an easy way to attach source in Eclipse?

Community
  • 1
  • 1
gknicker
  • 5,509
  • 2
  • 25
  • 41