Eclipse: Debugging & inspection of variables causes com.sun.jdi.ObjectCollectedException

前端 未结 4 1644
庸人自扰
庸人自扰 2021-02-07 03:15

I debug my program and add here and there a breakpoint. After a stop I want to inspect some of the variables and get sometimes a com.sun.jdi.ObjectCollectedException

4条回答
  •  隐瞒了意图╮
    2021-02-07 03:42

    This bug has been fixed in Eclipse 4.18

    https://www.eclipse.org/eclipse/news/4.18/jdt.php

    Stabilized logical structures in Variables view with active GC

    The Debug view no longer breaks when logical structures are shown while the application's garbage collector is active (com.sun.jdi.ObjectCollectedException occurred while retrieving value).

提交回复
热议问题