Debugging in IntelliJ (Reloading changed classes)

kr15hna picture kr15hna · Sep 21, 2015 · Viewed 12k times · Source

I recently switched from eclipse to IntelliJ. Eclipse's debug launcher used to reload the application instantly, whenever a class was saved. IntelliJ takes more than 10 secs to reload changed classes, which might not be a lot, but it is annoying because I use it so frequently.

How to make IntelliJ reload changed classes faster?

Answer

Prince picture Prince · Sep 21, 2015

To reload changed classes

  1. Do one of the following:
  • On the main menu, choose Run | Debugging Actions | Reload Changed Classes.
  • On the main menu, choose Build | Compile "class_name" to recompile an altered class during debug.
  1. In the Reload Changed Classes dialog box, confirm reloading. Results are displayed in the Messages tool window.

Refer this link for detailed explanation.