Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Helios ignores breakpoints

Eclipse is driving me nuts right now. It's probably something trivial but I just don't get it. Whenever I like to add a breakpoint, the regular icons are crossed out in the editor and breakpoints view.

As you might have guessed, this isn't strictly a graphical problem ;) The breakpoints are simply ignored while debugging. The breakpoint's properties aren't helpful either.

Any hint is very well appreciated!

EDIT:

  • I've tested different JDKs without success.
  • I've successfully debugged projects in another workspace

Okay, so it's not about the JDK or the installed plugins. Seems to be workspace related. Anything I could try?

like image 394
sfussenegger Avatar asked Jul 06 '10 15:07

sfussenegger


People also ask

Why Breakpoints are not working in Eclipse?

The debugger stops at main because a temporary breakpoint was set there. You don't see it because it evaporates as soon as it is hit. So, Eclipse IS setting breakpoints that work.

How do I enable Breakpoints in Eclipse?

Breakpoints To define a breakpoint in your source code, right-click in the left margin in the Java editor and select Toggle Breakpoint. Alternatively, you can double-click on this position. The Breakpoints view allows you to delete and deactivate Breakpoints and modify their properties.

How do I debug an entire project in Eclipse?

Starting the Debugger. To debug your application, select a Java file with a main method. Right-click on it and select Debug As Java Application. If you started an application once via the context menu, you can use the created launch configuration again via the Debug button in the Eclipse toolbar.


1 Answers

It seems you have the Skip All Breakpoints option enabled in the Breakpoints view.

like image 68
Fabian Steeg Avatar answered Sep 19 '22 18:09

Fabian Steeg