CursedChico
CursedChico

Reputation: 581

Eclipse debugging is not working

enter image description here

 Eclipse IDE for Java Developers

Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

I put some breakpoints in this first picture:

Breakpoints

After that, i clicked the bug symbol to start debug mode:

debug mode

But the application started as if it is in normal run mode. And as you can see in 2. picture, those buttons can not be clicked (next step, step into).

I was using kepler, it was same so i downloaded luna but it is still same. I could use debug mode 5-6 months ago. I did not use eclipse since that time and did not change anything.

Upvotes: 2

Views: 25750

Answers (2)

reto
reto

Reputation: 10453

All your breakpoints are disabled because you have "Skip all Breakpoints" enabled. You can recognize this by the strike-trough breakpoint icon:

enter image description here

Enable your breakpoints again by clicking the icon in the very top left of your first screenshot:

enter image description here

This will turn the "Skip all Breakpoints" setting off again and your program can be debugged as expected. More on this in the Eclipse documentation.

Upvotes: 8

Matus Danoczi
Matus Danoczi

Reputation: 137

Do you

  • try Debug start?
  • use Debug on the right program?

It looks like the breakpoint was not catched...

Upvotes: 0

Related Questions