csb
csb

Reputation: 336

Eclipse Luna Hanging when Loading Debug Configuration

Having a problem with Eclipse (Luna) IDE, while running the program I encountered a never ending loop so had to terminate the program. After which every-time I try to re-run the program it just hangs when loading the Debug Configuration.

I am trying to create a Eclipse Plug-in to retrieve a file name and add comments to it. I don't believe there's an error with the program as it was working fine before. I have tested a simple helloWorld program in another workspace to see if there were any problems but that program works fine. From what I have read it could be something to do with the metadata file but I have no idea how to correct it.

Problem

When attempting to load the Eclipse Luna box pops up (this is normal) in the bottom right-hand corner of the box, it shows what it is loading. It seems to hang at the point when it is trying to load org.eclipse.web.core.

The program was working fine up before the loop happened and I could run it without any problems.

When Eclipse stops responding it asks "if you wish to close the program" and below that it offers you some problem details which are listed below.

Problem Details

Problem signature:

Have Tried

Cleaning and rebuilding all projects, disabling firewalls and antiviruses, creating another basic program, reinstalling Eclipse and Java.

Upvotes: 5

Views: 6516

Answers (2)

Grubby
Grubby

Reputation: 33

I experienced the same issue with eclipse Mars running on Linux. I solved it by removing the debug configuration file associated with the project. This file is located in .metadata/.plugins/.org.eclipse.debug.core/.launches/$ProjectName.launch

Upvotes: 3

csb
csb

Reputation: 336

I finally figured it out, within local Workspace I deleted the .metadata folder and then just re-imported the project this got it working again.

It seems when it got stuck in the loop the .Lock file was not closed properly within the .metadata folder and prevented eclipse from starting the Debug Configuration.

These questions also have some answerers that might work as well without having to delete the .metadata folder:

How do I prevent Eclipse from hanging on startup?

Eclipse hangs on loading workbench

Upvotes: 4

Related Questions