Cannot execute code in debugger (Android)

For some reason, I cannot execute the code in the debugger. I am not trying to go through the Android source code, just the code that is in my project. My build paths are configured to turn them on, but whenever I try to step over something, it gives me the message "Source not found."

+3
source share
2 answers

I don't think the poster wants to go through the java source code. What he wants to do is not to go into the main libraries. Fortunately, eclipse allows you to do this using step filters (although why it is not allowed by default, the bad is never known, I would think that people who want to debug the main libraries will be an edge case ...). To do this, you can go to Window → Preferences → Java → Debugging → Filter a step , enable it and check the packages that you want to automatically cross over (I will check them all).

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

+5
source

Source: https://habr.com/ru/post/1736254/


All Articles