在Eclipse中调试:在评估期间检查变量 - >错误

时间:2021-09-21 20:43:50

I'm working on a piece of code Java and I have a dump problem. I'm doing some debugging and for I don't know what reason when I'm trying to evaluate (watch or inspect) some variables declared inside a method, it display the following error:

我正在编写一段代码Java,我有一个转储问题。我正在做一些调试,因为当我试图评估(观察或检查)方法中声明的一些变量时,我不知道是什么原因,它显示以下错误:

errors during the evaluation.

I don't get it. I'm using Eclipse 3.7.

我不明白。我正在使用Eclipse 3.7。

For instance, it does the same even for the method parameters (which should be available until the end of the execution of the method). I think is very odd and I don't get to debug my code.

例如,即使对于方法参数(在方法执行结束之前应该可用),它也会这样做。我觉得很奇怪,我没有调试我的代码。

My eclipse.ini file is:

我的eclipse.ini文件是:

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024M

1 个解决方案

#1


0  

It seems that the problem was one of my eclipse plugin. I had several plugins, some code review plugin. I just uninstalled them all and now it works.

似乎问题是我的eclipse插件之一。我有几个插件,一些代码审查插件。我只是将它们全部卸载,现在它可以工作了。

#1


0  

It seems that the problem was one of my eclipse plugin. I had several plugins, some code review plugin. I just uninstalled them all and now it works.

似乎问题是我的eclipse插件之一。我有几个插件,一些代码审查插件。我只是将它们全部卸载,现在它可以工作了。