phantom breakpoint driving me crazy!

2020-07-16 12:49发布

问题:

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.