Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » hot code replacement during debug
hot code replacement during debug [message #290052] Thu, 18 August 2005 07:34 Go to next message
Eclipse UserFriend
Originally posted by: mik.c-l-a-s-s-x.it

There are certain situations where Eclipse (since v3.0) does not
edit/replace java code during the debug phase.
Since this problem is not predictable I cannot make a serious test case. All
I can say is that this problem happens very often, expecially when the
application to debug has started a number of threads. But just take this as
an indication.

Also, when you write new code into a method (i.e. a System.out.println() )
you can put a breakpoint there and the debugger will stop there, but the
code will not be processed.

Mik
--
Re: hot code replacement during debug [message #290103 is a reply to message #290052] Thu, 18 August 2005 15:46 Go to previous messageGo to next message
Kevin Barnes is currently offline Kevin BarnesFriend
Messages: 174
Registered: July 2009
Senior Member
Michele Puccini wrote:
> There are certain situations where Eclipse (since v3.0) does not
> edit/replace java code during the debug phase.
> Since this problem is not predictable I cannot make a serious test case. All
> I can say is that this problem happens very often, expecially when the
> application to debug has started a number of threads. But just take this as
> an indication.
>
> Also, when you write new code into a method (i.e. a System.out.println() )
> you can put a breakpoint there and the debugger will stop there, but the
> code will not be processed.
>
> Mik

Hot Code Replace is dependent on the VM that you are using. Not all VM's
implement the same methods. Therefore you will see some cases where HCR
succeeds on one VM, but fails on another. If HCR fails the reason that
it failed is normally displayed in the error dialog that pops up.
If you a specific reproducible failure, that you think is an Eclipse
bug, you can file it against the Platform-Debug component.
Kevin
Re: hot code replacement during debug [message #290117 is a reply to message #290103] Thu, 18 August 2005 16:53 Go to previous message
Eclipse UserFriend
Originally posted by: mik.c-l-a-s-s-x.it

Kevin,

Sadly the beavior is not easily reproducible so filing a bug report is very
difficult for this issue.
The jvm I'm using is jdk1.5.0_04 (winxp).
I would like to know if I'm the only one facing this problem with Eclipse.

Mik

"Kevin Barnes" <krbarnes@ca.ibm.com> ha scritto nel messaggio
news:de2afs$k04$1@news.eclipse.org...

>> Mik
>
> Hot Code Replace is dependent on the VM that you are using. Not all VM's
> implement the same methods. Therefore you will see some cases where HCR
> succeeds on one VM, but fails on another. If HCR fails the reason that it
> failed is normally displayed in the error dialog that pops up.
> If you a specific reproducible failure, that you think is an Eclipse bug,
> you can file it against the Platform-Debug component.
> Kevin
Previous Topic:A curious plugin problem
Next Topic:Where does eclipse store User Library Definitions
Goto Forum:
  


Current Time: Fri Apr 26 17:30:06 GMT 2024

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

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

Back to the top