Skip to main content



      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 06:41 Go to next message
Eclipse UserFriend
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 00:44 Go to previous messageGo to next message
Eclipse UserFriend
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 01:26 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: Hot Swap is not working when changes made in Try{} block [message #1691101 is a reply to message #1690386] Thu, 02 April 2015 06:32 Go to previous messageGo to next message
Eclipse UserFriend
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 07:14 Go to previous messageGo to next message
Eclipse UserFriend
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
>
>
>
Re: Hot Swap is not working when changes made in Try{} block [message #1691168 is a reply to message #1691108] Thu, 02 April 2015 14:02 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Hot Swap is not working when changes made in Try{} block [message #1691336 is a reply to message #1691168] Mon, 06 April 2015 03:37 Go to previous messageGo to next message
Eclipse UserFriend
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 07:32 Go to previous messageGo to next message
Eclipse UserFriend
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 08:56 Go to previous messageGo to next message
Eclipse UserFriend
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 01:04 Go to previous messageGo to next message
Eclipse UserFriend
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 03:41 Go to previous messageGo to next message
Eclipse UserFriend
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 04:02 Go to previous messageGo to next message
Eclipse UserFriend
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 08:59 Go to previous message
Eclipse UserFriend
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 May 12 18:38:11 EDT 2025

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

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

Back to the top