Does hot code swapping work with Felix under Eclipse?

Although I am able to set up my Eclipse environment to set breakpoints in my 
bundles and step through code, I am unable to edit code, save, and then have 
Eclipse rewind to the beginning of the method I just modified.

I am accustomed to doing this in non-bundle code, but when I do this in my 
bundle code I receive the following error from Eclipse:

"
<name of my main class> at localhost:50785 contains obsolete methods.

Reason:
The virtual machine was unable to remove all stack frames running old code from 
the call stack.  The virtual machine is not supplying the debugger with valid 
data for those frames.  Stepping into these obsolete frames may be hazardous to 
the target virtual machine.
"

Eclipse 3.5, Felix 3.0.0, fileinstall 3.0.0

fileinstall is pointed to my Maven build's "target" directory which contains 
the exploded bundle under the "classes" sub-directory.  The target/classes 
directory is my Eclipse build output directory.  I have my fileinstall polling 
set to something insanely high (8 hours) so that I don't trigger a restart of 
the bundle - I'd like to avoid stopping and restarting the bundle and would 
like to just rewind to the beginning of the method.

Thanks, Rich



      

Reply via email to