Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Hot Swap
Hot Swap [message #1824] Tue, 22 April 2003 23:04 Go to next message
Shane J. Eaker is currently offline Shane J. EakerFriend
Messages: 5
Registered: July 2009
Junior Member
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] Wed, 23 April 2003 03:20 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
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 13:19 Go to previous messageGo to next message
Shane J. Eaker is currently offline Shane J. EakerFriend
Messages: 5
Registered: July 2009
Junior Member
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 14: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 15:38 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
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 18:19 Go to previous messageGo to next message
Shane J. Eaker is currently offline Shane J. EakerFriend
Messages: 5
Registered: July 2009
Junior Member
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 22: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: Sat Oct 19 13:18:02 GMT 2024

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

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

Back to the top