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"
Project Explorerwindow open?