Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot step through code in debugger (Android)

For some reason I can't step through the code in the debugger. I am not trying to step through Android source code, just code that resides in my project. My build paths are setup to include it, but whenever I try stepping over anything it gives me a "Source not found" message.

like image 222
veered Avatar asked Oct 18 '25 14:10

veered


1 Answers

I dont think the poster wants to step through the java source code. What he wants to do is avoid stepping into the core libraries. Fortunately eclipse does let you do this using step filters (though why this isnt enabled by default ill never know, i would have thought people wanting to debug the core libraries would be the edge case ...). To do this, you can go to Window -> Preferences -> Java -> Debug -> Step Filtering, turn it on and check the packages you want to automatically step over (i check them all).

See this post for more information along with some great screenshots - http://www.eclipsezone.com/eclipse/forums/t83338.rhtml

like image 159
Xcalibur Avatar answered Oct 21 '25 05:10

Xcalibur