简体   繁体   中英

Debug in Eclipse : inspect variable -> errors during evaluation

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

errors during the evaluation.

I don't get it. I'm using 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).

My eclipse.ini file is:

-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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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