Skip to main content



      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] Wed, 16 November 2011 21:15 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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.
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
Eclipse UserFriend
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
Eclipse UserFriend
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 Jul 03 12:46:58 EDT 2025

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

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

Back to the top