Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » Change source code in debug mode and continue debugging(Debugging)
Change source code in debug mode and continue debugging [message #757186] Wed, 16 November 2011 21:15 Go to next message
juan  is currently offline juan
Messages: 3
Registered: August 2011
Junior Member
Hi,

I would like to learn how to change source code while in debug mode and continue to debug.

I have CDT 8.0 and JVM 1.6.0_26.

What I have done so far is that in the middle of my debugging, I rebuild, and move to the line I want to check.

However, I can't see the updated changes in the Expression window.

Thanks
Re: Change source code in debug mode and continue debugging [message #757715 is a reply to message #757186] Mon, 21 November 2011 05:42 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1820
Registered: July 2009
Senior Member
Quote:
I would like to learn how to change source code while in debug mode and continue to debug.

That's not possible for a compiler language like C/C++. This can only be done for an interpreter language like Java.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Change source code in debug mode and continue debugging [message #758314 is a reply to message #757715] Tue, 22 November 2011 12:11 Go to previous messageGo to next message
Nobody Mising name is currently offline Nobody Mising name
Messages: 63
Registered: July 2010
Member
Axel Mueller wrote on Mon, 21 November 2011 05:42
That's not possible for a compiler language like C/C++. This can only be done for an interpreter language like Java.

Not quite true, MSVC supports Edit and Continue, but with reasonable limitations. Any support of such feature in GNU toolchain?
Re: Change source code in debug mode and continue debugging [message #758436 is a reply to message #758314] Wed, 23 November 2011 04:50 Go to previous message
Hagen
Messages: 90
Registered: April 2010
Member
On 11/22/2011 6:11 PM, Nobody wrote:
> MSVC supports
> http://msdn.microsoft.com/en-us/library/bcew296c(v=VS.90).aspx, but with
> reasonable limitations. Any support of such feature in GNU toolchain?

The key word for this feature is "incremental compilation".
Maybe you could help implement this for GCC. :-)
Previous Topic:Operation progress conflict with checkout Dialog
Next Topic:Eclipse CDT and Make interaction
Goto Forum:
  


Current Time: Sun May 19 04:21:50 EDT 2013

Powered by FUDForum. Page generated in 0.01739 seconds