开发者

Eclipse pausing without a breakpoint

While debugging my project in Eclipse, it will (rep开发者_Python百科eatably, at the same point in the code) pause execution as if it's reached a breakpoint. No exceptions are thrown, the project has no breakpoints, and if I hit resume, it carries on without a problem.

What could be causing this behaviour?


The Eclipse debugger pauses if the code throws an exception - at least it does for me (maybe this can be toggled). Just un-pause the thread and you'll most likely see a stacktrace being printed to STDERR.

Eclipse pausing without a breakpoint


Your code and the binaries that you are debugging are not in sync.
Try creating a break point and then getting rid of all breakpoints and see if it still happens.


I had the same problem I apparently had some hidden breakpoints, setting a new one then clearing all break points solved the issue for me.


Try Remove all breakpoints from the Breakpoints view (hidden by default, Window > Show view > Other... > Debug > Breakpoints).

This solved it for me.


Create a fresh workspace and import your project to this newly created workspace. The problem should be gone, especially if the problem was caused by corrupt workspace metadata.


it could also be waiting for user input, or a particular action to take place so it can continue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜