Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse debugger does not recognize new java code

I have added new method to my javacode and put breakpoint at the begin of this method and different places. Eclipse debugger go throw the breakpoints in the old code but not in the new added method. I have cleared my project project-> clear to exclude the cache possibility. for me, it appears that eclipse dont recognize the new added Java code.

Any Idea what could be the problem? I use eclipse Juno Service Release 2.

like image 961
Ronald Avatar asked Apr 04 '14 12:04

Ronald


1 Answers

You need to stop debugging and start the program again since the signature has changed. If you want more hot-swap possibilities you need to consider using JRebel or similar tool.

like image 149
Artem Avatar answered Nov 18 '22 09:11

Artem