Skip to main content



      Home
Home » Newcomers » Newcomers » plugin testing - test Eclipse instance
plugin testing - test Eclipse instance [message #211676] Wed, 23 May 2007 00:20 Go to next message
Eclipse UserFriend
Originally posted by: martyn.barry.ihug.co.nz

Is it absolutely necessary to restart the second eclipse instance (ie from
"run" menu option) in order to test a change to a plug-in?

ie: is there some kind of "refresh" function within the second instance?

On my computer I have to wait a while (typically 30-60 seconds) for such an
instance to start up - it would be quicker not to have to do this!

Thanks, Martyn.
Re: plugin testing - test Eclipse instance [message #211691 is a reply to message #211676] Wed, 23 May 2007 01:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"M Barry" <martyn.barry@ihug.co.nz> wrote in message
news:f30ff1$mg$1@build.eclipse.org...
> Is it absolutely necessary to restart the second eclipse instance (ie from
> "run" menu option) in order to test a change to a plug-in?
>
> ie: is there some kind of "refresh" function within the second instance?

In many cases, if you are debugging rather than running, you can edit the
code in the host instance and the change will immediately take effect in the
target instance. The VM only supports this "hotswap" feature to a certain
extent, of course; if your changes are big enough it won't let you continue.
Re: plugin testing - test Eclipse instance [message #211699 is a reply to message #211676] Wed, 23 May 2007 02:11 Go to previous message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

Martyn,
you can make changes to your code in Debug mode. Then usually your old
code can be replaced by Hot Code Replace, or if not then Eclipse will
prompt you with a message - there are some cases that class in running
virtual machine cannot be replaced.
To try this, run your plug-in in Debug mode.

M Barry wrote:
> Is it absolutely necessary to restart the second eclipse instance (ie from
> "run" menu option) in order to test a change to a plug-in?
>
> ie: is there some kind of "refresh" function within the second instance?
>
> On my computer I have to wait a while (typically 30-60 seconds) for such an
> instance to start up - it would be quicker not to have to do this!
>
> Thanks, Martyn.
>
>
Previous Topic:launching vim from eclipse
Next Topic:Highlighter
Goto Forum:
  


Current Time: Mon Jun 09 08:41:57 EDT 2025

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

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

Back to the top