Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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"

like image 300
korshyadoo Avatar asked Feb 06 '13 01:02

korshyadoo


People also ask

Which perspective is used for debugging in Eclipse?

Debug Perspective The debug perspective offers additional views that can be used to troubleshoot an application like Breakpoints, Variables, Debug, Console etc.


2 Answers

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.. ^^

like image 89
Ahmad Azwar Anas Avatar answered Sep 30 '22 05:09

Ahmad Azwar Anas


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

Now the eclipse is running without the Error!

like image 23
xamuser Avatar answered Sep 30 '22 04:09

xamuser