phantom breakpoint driving me crazy!

我怕爱的太早我们不能终老 提交于 2020-01-01 10:58:34

问题


I have no idea where it came from, it doesn't show up in my breakpoitns view, but every time I start my program, before it gets to my code it breaks at the beginning of FileInputStream.class

It's just getting really annoying. I am using eclipse 3.4 and java 1.6. Thanks! Joshua


回答1:


Did you check Why does my Eclipse project have phantom debugger breakpoints? ?

More specifically the
"Window > Preferences > Java > Debug : Suspend execution on uncaught exceptions"
option.




回答2:


I had a similar behavior in µVision for embedded system once. Is there some command like "Kill all breakpoints"? It helped me alot. Perhaps you have some configuration for that class in your IDE?(right click on that class?)

Regards Sascha




回答3:


Seems like you are trying to open a file or some other input device and got exception. Thats the reason Eclipse behaves like there is a breakpoint.



来源:https://stackoverflow.com/questions/851334/phantom-breakpoint-driving-me-crazy

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!