Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 836
  • Last Modified:

Hot Deploy in Eclipse debug

Hi All I got oftenly  'Hot code deploy failed' when I make changes while my app is running in debug mode thru Eclipse.  What is the correct way to hot deploy while debugging.  Appreciate your help.
0
fix2009
Asked:
fix2009
  • 2
1 Solution
 
defi0Commented:
Apart from using the latest JDK, which improves hot code deployment, there isn't much you can do (assuming that when you say "often", it means that you get the error message only with certain types of code changes, not every time you make a change).
0
 
fix2009Author Commented:
I am using JDK pretty much latest 1.6_04.  Often I meant each time...  but I have seen it working a while ago. So there must be something I must make sure to hot deploy.. thats what I am missing.  Or is it that each time I update a class and save while debug is running...  will it deploy change?
0
 
defi0Commented:
There are changes that cannot be hot-deployed, such as changing the structure of a class (adding/removing member variables).
Try making a simple change (code inside a method for instance) and see if that works. Also, try making changes while stopped at a breakpoint.
If none of this works, this means you have not setup your debugging target properly (let me know).
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now