Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Debugger Problem: com.sun.jdi.ObjectCollectedException occurred while retrieving value

I am using the following Eclipse, 2019-03 (March):

enter image description here

Version: 2019-03 (4.11.0)
Build id: 20190314-1200

I'm unable to debug properly because randomly, out of the blue, when click on Variables or Expressions, the window suddenly becomes this:

enter image description here

Please note that I tried playing with this setting, both On and Off, as suggested in some threads, but it didn't help:

enter image description here

Show Method Result After a Step Operation

Any other ideas?

like image 561
gene b. Avatar asked May 03 '26 08:05

gene b.


1 Answers

Solved this issue with possible work-around.

  1. Right click on the variable and go to the "Show Logical Structure" field. enter image description here

  2. Uncheck the "Array" field. enter image description here

  1. Validate the variable now. Hope this will show the your corresponding results.
like image 93
Jerry Avatar answered May 05 '26 00:05

Jerry



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!