Change and continue with IntelliJ Idea?

Can I edit code while debugging using IntelliJ Idea Community Edition? I can not find this function in the settings.

+5
source share
2 answers

Yes, it is called hot swapping. You can compile the modified code in the middle of debugging, and the class files will be replaced until you stop debugging. Be sure to enable the hotswap option in the debugger settings.

Note : Hot swapping does not work when changing method signatures.

+10
source

If you are a hot swap addict like me, you will like DCEVM ( https://dcevm.imtqy.com/ )

Using DCEVM, you almost never need to restart a debugging session.

Unfortunately, I did not find anything similar for .NET :(

+1
source

All Articles