eclipse调试的时候查看变量出现com.sun.jdi.InvocationException occurred invoking method.

症状:如题

分析/解决方案:你的toString抛出了异常,去查看toString的代码是不是有问题,比如说空指针什么的

原文地址:https://www.cnblogs.com/qrlozte/p/3526051.html