Search code examples
androideclipsedebuggingbreakpoints

Debug only your Android source in Eclipse


I set up a breakpoint in my code, and when I go into the debug mode it stops at the breakpoint. When I step into or over, instead of going to the next line of my source code the debugger takes me into the SDK source code.

How can I avoid this and only view the debugging of source which I wrote?


Solution

  • This will happen when you step into code which you did not write (i.e. other dex bytecode), so you need to step over these lines. This will also happen if an exception is thrown, so be careful of that as well. Otherwise, it should work just fine.

    Is there a specific issue you're running into?