[英]Netbeans with Java how to find the source of an error?
I use Netbeans for my Java IDE. 我将Netbeans用于Java IDE。 I am building off a 3rd party API.
我正在构建第三方API。 I have built quite a bit on top of it.
我已经在此之上建立了很多东西。 I try to leave good debugging messages around my code, but I am getting a very basic error message, then my program is closing.
我尝试在代码周围保留良好的调试消息,但收到一条非常基本的错误消息,然后程序关闭。 I get this
Error - java.io.EOFException
and then shortly after the program closes. 我收到此
Error - java.io.EOFException
,然后在程序关闭后不久。 I think it is just a system output printed line showing the error coming from the API. 我认为这只是显示来自API的错误的系统输出打印行。
Does anyone know of a technique in Netbeans of Java in general where I could identify where the error is coming from? 有没有人知道Java Netbeans中的一种技术,我可以从中识别错误的出处?
One can put a break point on the constructor for EOFException(). 可以在EOFException()的构造函数上添加一个断点。
To do so: 为此:
New Breakpoint ...
New Breakpoint ...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.