When I attempt to do hotswap, it shows 0 classes reloaded

Answered

I enable debugger, then recompile the class which I have modified which initiates hotswap but shows 0 classes reloaded

0
3 comments

Is it Java? What Run/Debug Configuration do you yous for debugging? What is IDE version?

Make sure you have reloading classes enabled in Settings (Preferences) | Build, Execution, Deployment | Debugger | HotSwap.

Try also call it explicitly: Run | Reload Changed Classes, see https://www.jetbrains.com/help/idea/altering-the-program-s-execution-flow.html#reload_classes

0
Avatar
Permanently deleted user

Yes, It is java. I am using 2019.2 version. I also tried with 2018.3

0

What Run/Debug Configuration do you use for debugging? Do you use Maven/Gradle?

What are the Settings (Preferences) | Build, Execution, Deployment | Debugger | HotSwap settings? Attach screenshot of HotSwap settings and screenshot of the IDE window when you see this message after Reload Changed Classes action.

0

Please sign in to leave a comment.