Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Hot Swap is not working when changes made in Try{} block(hot swap feature is not working when changes are done in the try{} block.)
Hot Swap is not working when changes made in Try{} block [message #1690111] Wed, 25 March 2015 10:41 Go to next message
kavitha Shivappa is currently offline kavitha ShivappaFriend
Messages: 6
Registered: March 2015
Junior Member
Eclipse version 4.2.1
We have this hot swap working fine in a normal method. But in try{} block its not working.
Steps to reproduce
1) Keep a breakpoint in try block.
2) Now run the script in debug mode.
3) Add some code in try block
4) Save it.
The highlighter does not move to the beginning of the try block.

Build automatic is enabled, jvm is higher than 1.5.
Let me know if I am missing any configuration.
Re: Hot Swap is not working when changes made in Try{} block [message #1690381 is a reply to message #1690111] Fri, 27 March 2015 04:44 Go to previous messageGo to next message
kavitha Shivappa is currently offline kavitha ShivappaFriend
Messages: 6
Registered: March 2015
Junior Member
Does any one has any inputs on this?
Re: Hot Swap is not working when changes made in Try{} block [message #1690386 is a reply to message #1690381] Fri, 27 March 2015 05:26 Go to previous messageGo to next message
Ed Merks is currently online Ed MerksFriend
Messages: 31828
Registered: July 2009
Senior Member
You should answer the question that's asked of you. It's being asked
probably because you said "run the script in debug mode" not "run the
program in debug mode" so it's not clear if this is Java or some mystery
script language...

On 27/03/2015 5:44 AM, kavitha Shivappa wrote:
> Does any one has any inputs on this?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Hot Swap is not working when changes made in Try{} block [message #1691101 is a reply to message #1690386] Thu, 02 April 2015 10:32 Go to previous messageGo to next message
kavitha Shivappa is currently offline kavitha ShivappaFriend
Messages: 6
Registered: March 2015
Junior Member
Hi Ed

Thanks for the response. I do not see any questions asked to me.
Anyways to answer you.
I would with RFT which uses the eclipse IDE. Here we have java script or you can say as a java file.

Please help me resolve this issue.
Let me know in case of any queries.

Thanks,
Kavitha


Re: Hot Swap is not working when changes made in Try{} block [message #1691108 is a reply to message #1691101] Thu, 02 April 2015 11:14 Go to previous messageGo to next message
Ed Merks is currently online Ed MerksFriend
Messages: 31828
Registered: July 2009
Senior Member
Kavitha,

On 02/04/2015 12:32 PM, kavitha Shivappa wrote:
> Hi Ed
>
> Thanks for the response. I do not see any questions asked to me.
Nitin asked "What language are you talking about?" and instead of
answering that, you just ignored/overlooked it.
> Anyways to answer you.
> I would with RFT
What is RFT?
> which uses the eclipse IDE. Here we have java script or you can say as
> a java file.
Again, it's still not clear what language or even what tool you are
using. What's RFT? If that's a product, ask questions about it on the
product forum.
> Please help me resolve this issue.
> Let me know in case of any queries.
>
> Thanks,
> Kavitha
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Hot Swap is not working when changes made in Try{} block [message #1691168 is a reply to message #1691108] Thu, 02 April 2015 18:02 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4030
Registered: July 2009
Senior Member

Java and JavaScript are two separate pronouns identifying very different things.

Depending on the change being made in the try block, you may be making "structural" changes that simply aren't allowed to be hot-swapped.


Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Hot Swap is not working when changes made in Try{} block [message #1691336 is a reply to message #1691168] Mon, 06 April 2015 07:37 Go to previous messageGo to next message
kavitha Shivappa is currently offline kavitha ShivappaFriend
Messages: 6
Registered: March 2015
Junior Member
RFT(IBM rational functional tester) which uses java code. Here in try block we are not making any "structural" changes, we will add a simple sysout.
On my colleagues machine we see that Hot swapping is working. When we add sysout in try{} and save, the debug courser moves to the beginning of the block.

I checked with the eclipse settings.. all seems to be same as on my machine.
Re: Hot Swap is not working when changes made in Try{} block [message #1691902 is a reply to message #1691168] Fri, 10 April 2015 11:32 Go to previous messageGo to next message
kavitha Shivappa is currently offline kavitha ShivappaFriend
Messages: 6
Registered: March 2015
Junior Member
Do we have any updates?
Re: Hot Swap is not working when changes made in Try{} block [message #1691915 is a reply to message #1691902] Fri, 10 April 2015 12:56 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
Perhaps the JVM that the app is running is does not support hot swapping, or supports it differently than the other machine. Hot swap is dependent on the JVM, remember.
Re: Hot Swap is not working when changes made in Try{} block [message #1692464 is a reply to message #1691915] Thu, 16 April 2015 05:04 Go to previous messageGo to next message
kavitha Shivappa is currently offline kavitha ShivappaFriend
Messages: 6
Registered: March 2015
Junior Member
Rational Functional Tester uses JVM 1.7 .. as already mentioned the hot swap is working fine on my colleagues machine.. ON my machine and 2 other machine its not working. It working in a methods.. but not in a try{} block.

We have tried to reinstall or check the settings and have compared it with the one(machine) where its working.. nothing helping me resolve this issue.
Re: Hot Swap is not working when changes made in Try{} block [message #1692477 is a reply to message #1692464] Thu, 16 April 2015 07:41 Go to previous messageGo to next message
sachin funde is currently offline sachin fundeFriend
Messages: 1
Registered: April 2015
Junior Member
even i am facing same issue.please look into this.
Re: Hot Swap is not working when changes made in Try{} block [message #1692481 is a reply to message #1692464] Thu, 16 April 2015 08:02 Go to previous messageGo to next message
Seema Karia is currently offline Seema KariaFriend
Messages: 1
Registered: April 2015
Junior Member
Hi All,
Even I am facing same issue with RFT 8.3.1

Issue description :
RFT script is executed in debug mode.
During debug, I have made changes in the code (function is inside try..catch)
If I have to test updated code, I need to stop current execution and re execute script.

While using RFT 8.6, it allows to me to test the modified code in debug mode.

But in RFT 8.3.1, it does not allow to do so.
Re: Hot Swap is not working when changes made in Try{} block [message #1692555 is a reply to message #1692481] Thu, 16 April 2015 12:59 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
It's a commercial, third-party tool, produced and sold by IBM. You should pursue this via their support channel, not here. Unless you can reproduce the problem in a standard Eclipse installation, it's unlikely anyone here will be able to help.
Previous Topic:How to change Gerrit Username?
Next Topic:Library Javadoc JAR linked, but now showing
Goto Forum:
  


Current Time: Mon Apr 12 13:56:49 GMT 2021

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

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

Back to the top