Nick Kahn
Nick Kahn

Reputation: 20078

Android Eclipse: Class File Editor - Source not found

i am working on Android project using Eclipse

Eclipse IDE for Java Developers

Version: Indigo Service Release 1
Build id: 20110916-0149

so when i try to debug the code after few step over (f6) the code i get this windows and after that it does not do anything... what should i do to fix this? anybody?

enter image description here

Upvotes: 2

Views: 6966

Answers (2)

Roger Heim
Roger Heim

Reputation: 89

FutureTask.java is part of the java.util.concurrent namespace. It's part of Java itself. If you install the java source you'll be able to step into it but normally you wouldn't want to do that.

There's an option under Eclipse's preferences (under Java->Debug->Step Filtering) where you can specify classes Eclipse should not step into.

Upvotes: 0

Rudy
Rudy

Reputation: 7044

This is not really an error.

FutureTask.java is not your code and actually included in some third party library (or in other project). You only has the .class inside the jar.

Since it's not your code, i believe you should not really need to debug in this FutureTask level. You can just do a step up.

However if you insist to debug it, you should attach the project/source code where the FutureTask is located by clicking "Change Attached Source..." If it's a third party, usually there is a source project in the same place you download the jar. If it's your other project, just point the source to your other project.

Upvotes: 2

Related Questions