Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Hot Swap
Hot Swap [message #1824] Tue, 22 April 2003 19:04 Go to next message
Eclipse UserFriend
I can't get Hot Swap features of a Java 1.4.1_02 compiler working inside
the latest Eclipse debugger. I set the debugger JRE to use the 1.4.1_02
as well, debug to a breakpoint, make a change, save, and I always get a
obsolete method warning without a Hot Swap.

Any ideas? Or can you point me in the right direction?

Thanks,

Shane
Re: Hot Swap [message #1840 is a reply to message #1824] Tue, 22 April 2003 23:20 Go to previous messageGo to next message
Eclipse UserFriend
What type of code change are you attempting?
Are you changing the "shape" of the class...adding or removing a method or
field?
Are you changing code within an inner class?

Darins

"Shane J. Eaker" <eakersj@yahoo.com> wrote in message
news:b84hqd$2aa$1@rogue.oti.com...
> I can't get Hot Swap features of a Java 1.4.1_02 compiler working inside
> the latest Eclipse debugger. I set the debugger JRE to use the 1.4.1_02
> as well, debug to a breakpoint, make a change, save, and I always get a
> obsolete method warning without a Hot Swap.
>
> Any ideas? Or can you point me in the right direction?
>
> Thanks,
>
> Shane
>
Re: Hot Swap [message #2342 is a reply to message #1840] Wed, 23 April 2003 09:19 Go to previous messageGo to next message
Eclipse UserFriend
None of the code changes I've tried have been that sophisticated. Just
something simple to test that the Hot Swap is working while debugging. For
example, changing a String printing to the console within a method, i.e.
System.out.println("change me"). I am using JUnit.

Thanks,

Shane

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:b8503k$9n4$1@rogue.oti.com...
> What type of code change are you attempting?
> Are you changing the "shape" of the class...adding or removing a method or
> field?
> Are you changing code within an inner class?
>
> Darins
>
> "Shane J. Eaker" <eakersj@yahoo.com> wrote in message
> news:b84hqd$2aa$1@rogue.oti.com...
> > I can't get Hot Swap features of a Java 1.4.1_02 compiler working inside
> > the latest Eclipse debugger. I set the debugger JRE to use the 1.4.1_02
> > as well, debug to a breakpoint, make a change, save, and I always get a
> > obsolete method warning without a Hot Swap.
> >
> > Any ideas? Or can you point me in the right direction?
> >
> > Thanks,
> >
> > Shane
> >
>
>
Re: Hot Swap [message #2372 is a reply to message #2342] Wed, 23 April 2003 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jared-eclipse.mn.rr.com

One way or another, you're getting burned by your test case. The next time
you're doing real debugging and you want to make a change, let your program
running and see how it goes.

- Jared

Shane J. Eaker wrote:

> None of the code changes I've tried have been that sophisticated. Just
> something simple to test that the Hot Swap is working while debugging.
> For example, changing a String printing to the console within a method,
> i.e.
> System.out.println("change me"). I am using JUnit.
>
> Thanks,
>
> Shane
>
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> news:b8503k$9n4$1@rogue.oti.com...
>> What type of code change are you attempting?
>> Are you changing the "shape" of the class...adding or removing a method
>> or field?
>> Are you changing code within an inner class?
Re: Hot Swap [message #2491 is a reply to message #2342] Wed, 23 April 2003 11:38 Go to previous messageGo to next message
Eclipse UserFriend
Of course JUnit is a rather complicated starting point...a bit of reflection
with native methods on the stack :-)

Darins

"Shane J. Eaker" <eakersj@yahoo.com> wrote in message
news:b8638m$2ke$1@rogue.oti.com...
> None of the code changes I've tried have been that sophisticated. Just
> something simple to test that the Hot Swap is working while debugging.
For
> example, changing a String printing to the console within a method, i.e.
> System.out.println("change me"). I am using JUnit.
>
> Thanks,
>
> Shane
>
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> news:b8503k$9n4$1@rogue.oti.com...
> > What type of code change are you attempting?
> > Are you changing the "shape" of the class...adding or removing a method
or
> > field?
> > Are you changing code within an inner class?
> >
> > Darins
> >
> > "Shane J. Eaker" <eakersj@yahoo.com> wrote in message
> > news:b84hqd$2aa$1@rogue.oti.com...
> > > I can't get Hot Swap features of a Java 1.4.1_02 compiler working
inside
> > > the latest Eclipse debugger. I set the debugger JRE to use the
1.4.1_02
> > > as well, debug to a breakpoint, make a change, save, and I always get
a
> > > obsolete method warning without a Hot Swap.
> > >
> > > Any ideas? Or can you point me in the right direction?
> > >
> > > Thanks,
> > >
> > > Shane
> > >
> >
> >
>
>
Re: Hot Swap [message #3756 is a reply to message #2342] Wed, 23 April 2003 14:19 Go to previous messageGo to next message
Eclipse UserFriend
After a little more testing, Hot Swap works in Eclipse and even while using
JUnit. However, it doesn't appear to work while inside an object
constructor or a main method. These limitations are probably documented
somewhere. I was expecting functionality similar to the Smalltalk language
or IBM Visual Age for Java which have finely tuned Hot Swap capabilities.


Thanks,

Shane


"Shane J. Eaker" <eakersj@yahoo.com> wrote in message
news:b8638m$2ke$1@rogue.oti.com...
> None of the code changes I've tried have been that sophisticated. Just
> something simple to test that the Hot Swap is working while debugging.
For
> example, changing a String printing to the console within a method, i.e.
> System.out.println("change me"). I am using JUnit.
>
> Thanks,
>
> Shane
>
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> news:b8503k$9n4$1@rogue.oti.com...
> > What type of code change are you attempting?
> > Are you changing the "shape" of the class...adding or removing a method
or
> > field?
> > Are you changing code within an inner class?
> >
> > Darins
> >
> > "Shane J. Eaker" <eakersj@yahoo.com> wrote in message
> > news:b84hqd$2aa$1@rogue.oti.com...
> > > I can't get Hot Swap features of a Java 1.4.1_02 compiler working
inside
> > > the latest Eclipse debugger. I set the debugger JRE to use the
1.4.1_02
> > > as well, debug to a breakpoint, make a change, save, and I always get
a
> > > obsolete method warning without a Hot Swap.
> > >
> > > Any ideas? Or can you point me in the right direction?
> > >
> > > Thanks,
> > >
> > > Shane
> > >
> >
> >
>
>
Re: NoClassDefFoundError though plugin is loaded [message #1813883] Sat, 31 August 2019 18:50 Go to previous message
Eclipse UserFriend
1
Previous Topic:Change IDE or change project?
Next Topic:Type and Method binding not working properly in some cases
Goto Forum:
  


Current Time: Sun Apr 27 23:17:39 EDT 2025

Powered by FUDForum. Page generated in 0.05534 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top