user648244 user648244 - 6 months ago 18
Java Question

Eclipse IDE debugging - code not reflects new changes

Im using Eclipse IDE (4.2). When i make a change in Eclipse, try to debug it, the previous version is compiled, but not the new one. At present I to go around it, i go maven clean/build and then refresh the project. But this is very tidious and i need to do it every time i make any changes. Is there another way around this or a plugin that i can use to pick up these changes automatically?

Answer

Click Project > Build Automatically once and make sure that tick mark is appeared in front of Build Automatically option.

Also you have to enable hot code replace options. Click Windows > Preferences. Go to Java > Debug select all options in Hot Code Replace group