Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Change source code in debug mode and continue debugging(Debugging)
Change source code in debug mode and continue debugging [message #757186] Thu, 17 November 2011 02:15 Go to next message
juan  is currently offline juan Friend
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 10:42 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
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 17:11 Go to previous messageGo to next message
Nobody Mising name is currently offline Nobody Mising nameFriend
Messages: 75
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 09:50 Go to previous message
HagenFriend
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: Thu Mar 28 16:31:01 GMT 2024

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

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

Back to the top