简体   繁体   English

加载调试配置时Eclipse Luna挂起

[英]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. Eclipse(Luna)IDE遇到问题,在运行程序时我遇到了一个永无止境的循环,所以不得不终止程序。 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. 我正在尝试创建一个Eclipse插件来检索文件名并为其添加注释。 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. 我在另一个工作区中测试了一个简单的helloWorld程序,看看是否有任何问题,但程序运行正常。 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. 当试图加载Eclipse Luna框时,弹出框(这是正常的)在框的右下角,它会显示它正在加载的内容。 It seems to hang at the point when it is trying to load org.eclipse.web.core. 当它试图加载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. 当Eclipse停止响应时,它询问“如果你想关闭程序”及其下面的内容,它会为您提供下面列出的一些问题详细信息。

Problem Details 问题细节

Problem signature: 问题签名:

  • Problem Event Name: AppHangB1 问题事件名称:AppHangB1
  • Application Name: javaw.exe 应用程序名称:javaw.exe
  • Application Version: 8.0.11.12 应用版本:8.0.11.12
  • Application Timestamp: 539f94f3 应用程序时间戳:539f94f3
  • Hang Signature: 8701 Hang Signature:8701
  • Hang Type: 134217728 吊型:134217728
  • OS Version: 6.3.9600.2.0.0.256.48 操作系统版本:6.3.9600.2.0.0.256.48
  • Locale ID: 2057 区域设置ID:2057
  • Additional Hang Signature 1: 8701579a6fb10e5d0065e1f36c8dcf91 其他Hang Signature 1:8701579a6fb10e5d0065e1f36c8dcf91
  • Additional Hang Signature 2: 6c5e 额外的Hang Signature 2:6c5e
  • Additional Hang Signature 3: 6c5ef7fd43455b1ace2cb9fa4a881a13 其他Hang Signature 3:6c5ef7​​fd43455b1ace2cb9fa4a881a13
  • Additional Hang Signature 4: 8701 其他Hang Signature 4:8701
  • Additional Hang Signature 5: 8701579a6fb10e5d0065e1f36c8dcf91 其他Hang Signature 5:8701579a6fb10e5d0065e1f36c8dcf91
  • Additional Hang Signature 6: 6c5e 额外的Hang Signature 6:6c5e
  • Additional Hang Signature 7: 6c5ef7fd43455b1ace2cb9fa4a881a13 其他Hang Signature 7:6c5ef7​​fd43455b1ace2cb9fa4a881a13

Have Tried 试过

Cleaning and rebuilding all projects, disabling firewalls and antiviruses, creating another basic program, reinstalling Eclipse and Java. 清理和重建所有项目,禁用防火墙和防病毒软件,创建另一个基本程序,重新安装Eclipse和Java。

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. 我终于明白了,在本地Workspace中我删除了.metadata文件夹,然后重新导入项目,这让它再次运行。

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. 似乎当它陷入循环时, .Lock文件未在.metadata文件夹中正确关闭,并阻止了eclipse启动调试配置。

These questions also have some answerers that might work as well without having to delete the .metadata folder: 这些问题也有一些答案可能也可以工作,而不必删除.metadata文件夹:

How do I prevent Eclipse from hanging on startup? 如何防止Eclipse在启动时挂起?

Eclipse hangs on loading workbench Eclipse挂起加载工作台

I experienced the same issue with eclipse Mars running on Linux. 我在Linux上运行的eclipse Mars遇到了同样的问题。 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 此文件位于.metadata / .plugins / .org.eclipse.debug.core / .launches / $ ProjectName.launch

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM