Simon V.
Simon V.

Reputation: 1485

Edit and continue in IntelliJ IDEA?

Is it possible to edit some code while debugging using IntelliJ IDEA Community Edition? I can't find this feature in the options.

Upvotes: 11

Views: 9229

Answers (2)

axelrod
axelrod

Reputation: 3978

Yes, it's called 'hot swap'. You can compile your modified code in the middle of debugging and the class files will be replaced until you stop debug. Make sure to enable the HotSwap option in the debugger settings.

Note: hot swap doesn't work when you change method signatures.

Upvotes: 17

lukyer
lukyer

Reputation: 7983

If you are 'hot swap' addicted like me, you will love DCEVM (https://dcevm.github.io/)

Using DCEVM you don't have to reload debugging session almost never.

Unfortunately i haven't found anything like that for .NET :(

Upvotes: 0

Related Questions