So a couple weeks ago my Eclipse IDE no longer allowed me to remotely debug my application saying that it was unable to install breakpoints because line numbers were not being displayed...The problem is that my Eclipse is set up to display line numbers (which I use regularly in my day to day development)
I did some research and found that it sometimes has to do with using ant to build projects and a debug setting in javac. I made sure that the debugging is set in my build.xml target but it still won't let me debug with the same error.
And now, to add insult to injury, I clicked the box that says 'Do Not Show This Message Again' so now I'll never know if I'm actually debugging my program when I try or if it failed and the error message just didn't show up.
Does anyone know how to fix this? Or, at the very least know how to toggle that error message to pop back up so I can tell if/when I do fix it?
In order to re enable the message : Preferences => java => debug . it is at the bottom of the screen : "Warn when unable to install breakpoint du to missing line number attributes"
For the problem about installing breakpoints, try to add a -g to your javac command line in ant (debug attribute of you compilation task, http://ant.apache.org/manual/Tasks/javac.html)
Eventually check if you have not mapped your project on a JRE instead of a JDK in eclipse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With