调试项目时Eclipse调试器崩溃 [英] Eclipse debugger crashes when debugging a project

查看:72
本文介绍了调试项目时Eclipse调试器崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse Indigo中的Java应用程序.我当时正在毫无问题地调试项目,但是一次尝试,jvm给出了一个错误,运行窗口崩溃了.之后,现在当我在该特定项目上运行调试器时,主程序将在10-15秒后加载,并且在加载主程序时,它会挂起并在执行任何操作时关闭程序.该程序可以在运行模式"下正常运行.我在工作区中检查了另一个项目的调试器,该调试器工作正常,但是仅对这个特定项目有问题.

I am working on a java application in eclipse Indigo. I was working and debugging the project with no problems but at one attempt, the jvm gave an error and the run window crashed. After that now when I run the debugger on that specific project, the main program loads after 10-15 seconds and when it does, it hangs and closes down the program upon any action. The program runs fine in "Run Mode". I check debugger for one other project in the workspace and it works fine for that, but is only giving problem for this one specific project.

我尝试再次运行Eclipse,再次清理并构建项目,删除额外的断点,然后重试,但是问题仍然存在.我该如何解决这个问题,这确实让我很烦,因为我必须交付项目,而且如果不调试也无法跟踪进出的数据.

I have tried running Eclipse again, clean and build project again, remove extra breakpoints and try again but the problem exists. How can I solve this problem, it is really annoying me as I have to deliver the project and without debugging I cannot track the data coming in and out.

推荐答案

尝试使用 -clean 选项("eclipse.exe -clean")重新启动Eclipse.这将导致Eclipse清理工作空间元数据并从项目中重建它.这应该解决这个问题.

Try restarting Eclipse with the -clean option ("eclipse.exe -clean"). This will cause Eclipse to clean the workspace metadata and rebuild it from the projects. This should take care of this problem.

这篇关于调试项目时Eclipse调试器崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆