Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse Debugger : Hot Code Replacement not working

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am not able to work on Eclipse debugger Hot Code Replacement , i have enabled the option of Build automatically as recomended , I am using Java 5.0 as my JVM version .

Below is my code



I put up an Break Point at the line "Stopping At Break Point" its stopping there , and when i sopln added Newly added Line , it is showing an error in pop up message as "Unable to remove old stack frames "


please suggest .


 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have found that Hot code replacemenet is not working for static methods , but for normal methods HCR is working fine .

Thanks .

 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hot code replacement may or may not work, depending on rules that I don't think anyone actually formally defined.

We've had a discussion or 2 on this topic in the past year or so. You might find it useful to search for them.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic