Eclipse Unable to install breakpoint

前端 未结 5 1986
不思量自难忘°
不思量自难忘° 2021-01-05 10:14

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 be

5条回答
  •  没有蜡笔的小新
    2021-01-05 10:38

    I ran into the same problem and @jondissed and @twister answers didnt help and I'm not using a custom ant task so I tried:

    • Close the WAR, EJB and EAR projects - reopen them - still error on deploy
    • Close eclipse - reopen, restart local JBoss server - still error on deploy
    • Close eclipse - reopen, restart local JBoss server - clean JBoss temp/data directories - still error on deploy
    • Undeploy app - remove breakpoints, re-add them redeploy - still an error on deploy

    What finally worked for me was

    • Undeploy the app. Remove the breakpoints. Deploy the app. Re-add the breakpoint.

    Debug now halts at breakpoint.

    Update 1 - apparently Eclipse just gets angry at times as I just fought with it for about 10 minutes when the above appeared to not be working and while it popped the error, I closed it and it still stopped at the new, single breakpoint :-/

    Update 2 - ran into the issue again, Eclipse is just being pissy about it and even update 1 doesn't fix it - it's also affecting modified code not being deployed so when Eclipse gets in it's "mood", a clean and build then full deploy of the project works O_o

提交回复
热议问题