Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not able to debug in Eclipse

Tags:

eclipse

I came across this strange issue where I 'm not able to debug my application (Java Web Application) in Eclipse.

History:

  1. I deleted and re-imported the same project again.
  2. Debug was working before this.

I tried:

  1. Refreshing my workspace (all the projects)
  2. Did a Clean + Build.
  3. Checked my debug configurations for valid port number inside eclipse.
  4. Gave breakpoints on the obvious lines of code where I know the control will hit these points.

Update I'm using JBoss server if that helps.

Any pointers which I might have missed out.?

Thanks!

like image 369
Java_User Avatar asked Dec 06 '25 11:12

Java_User


1 Answers

Well, I've worked for years with Java web apps, using Eclipse and JBoss, and I've faced this issue multiple times.

What I'd usually do to fix this problem is erase .metadata folder from the workspace while Eclipse was closed (it will re-generate when opening again).

like image 142
Mauren Avatar answered Dec 09 '25 20:12

Mauren



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!