reload changed classes - what exactly are they?

i am debugging a server remotely. my sources differ from the ones that were compiled and are now running on the server. when i reload changes classes, what exactly is replaced?

3 comments

i am debugging a server remotely. my sources differ
from the ones that were compiled and are now running
on the server. when i reload changes classes, what
exactly is replaced?


When you do that you are effectively sending the compiled code to the server, and replacing the one currently loaded.

0

so all locally modified classes (all that are included in the make process) are sent to the server?

0

When starting a debug session (connecting to a remote process), IDEA saves the current timestamp. All classes with timestamps newer
than saved one are considered modified during this debug session and are sent to the remote machine when "reload classes" is called.
So in your example IDEA would change the newer classes running on server with their older version (available on your machine), but
containing modifications you've done since debug start.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.