我正在使用Eclipse远程调试一个Java/JBoss应用程序,逐行进行调试。在某个点上,通过方法调用创建了一个GridSquare
对象的数组(GridSquare
是一个相当简单、独立的类,包含一些属性和方法),如下所示:
GridSquare[] squares = this.theGrid.getSquares(14, 18, 220, 222);
...当我实际执行代码时,squares
数组确实会被GridSquare
对象填充,但是在进行调试时,当我在上面显示的分配语句后紧接着的断点处尝试查看squares
数组时,我得到了以下奇怪的结果:
org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array.
...有人知道这是什么意思吗?