Reputation: 23
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?
Upvotes: 1
Views: 1146
Reputation: 1012
You need to set up Step Filtering in Eclipse Preferences->Java->Debug->Step Filtering And add the classes you want to ignore
Upvotes: 3
Reputation: 4473
When you are in not your code - click "Step Return" (Arrow Up-Right) and you will return to your code.
Upvotes: 0
Reputation: 14998
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?
Upvotes: 1