Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse doesn't stop at breakpoints

Eclipse 3.5.2 is not stopping in breakpoints. It's as if the debugger is using an older version of the source file.

Tried the usual refresh, clean all projects, build all, with no change.

Already in debug mode and the break point is checked.

*ok ended up deleting the whole project and checking it out again. but still curious what the issue was.

like image 533
Ayrad Avatar asked Dec 08 '10 13:12

Ayrad


People also ask

Why breakpoints are not working in Eclipse?

The solution was to enable it again, start a debug session, the breakpoint is hit and shown in the UI, then disable again the option. There is also another simpler way that will make Eclipse show the debugging highlight at the breakpoint or rather refresh the debugging UI to work as it should.

Why are my breakpoints not working?

If a source file has changed and the source no longer matches the code you're debugging, the debugger won't set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn't rebuilt. To fix this issue, rebuild the project.

What happens if debug mode is not working in Eclipse?

Go to Run->Debug Configurations then double click on “Remote Java Application”. Now enter a name for the configuration and fill in the project name, for the project you want to debug on the server, the host (“localhost”, usually) and the port number (this will be 7777, by default but you can check in the WAS console).

How do I close all breakpoints in Eclipse?

Run -> Remove All Breakpoints. This will remove all breakpoints.


1 Answers

Perhaps you have pushed the Skip all Breakpoints button in the Breakpoints view.

like image 53
Fabian Steeg Avatar answered Oct 26 '22 11:10

Fabian Steeg