korshyadoo
korshyadoo

Reputation: 337

Can't view source in eclipse debug perspective

I was moving around the arrangement of windows in the debug perspective. Afterwards, no matter which .java files I had open in the Java perspective, only the source file with the main method would be open in the debug perspective and I couldn't figure out how to see the other source files.

Then, I accidently closed the main source file and now I don't see any source code in my debug perspective.

If I go to Window -> New Editor, or if I double click on Main.java from the navigator, nothing happens.

I reset the perspective to default and in the editor, it says "No editor descriptor for id org.eclipse.ui.internal.emptyEditorTab"

Upvotes: 7

Views: 9980

Answers (3)

Sam003
Sam003

Reputation: 331

Delete workbench.xmi, it worked for me.

Upvotes: 2

xamuser
xamuser

Reputation: 51

I cut the file workbench.xmi --> C:\User\workspace.metadata.plugins\workbench.xmi

Now the eclipse is running without the Error!

Upvotes: 5

Ahmad Azwar Anas
Ahmad Azwar Anas

Reputation: 1287

try this based on this link,

Closing eclipse and removing .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

from your workspace, if you aware of another error, cut and paste to another location..

                 YOU CAN POST YOUR BUG TO THAT LINK 

     IF YOU FEEL THAT THAT BUG DOES NOT REPRESENT YOUR PROBLEM.. ^^

               FEEL FREE TO DO IT, THEY WILL HEAR YOU..

if you still want to worked with eclipse, re-install again, import your code. It worked against me. happy coding.. ^^

Upvotes: 5

Related Questions