Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Hot swap debugging
Hot swap debugging [message #128486] Wed, 24 November 2004 02:21 Go to next message
Eclipse UserFriend
Originally posted by: Venkataramana_Jaladurgam.satyam.com

Is it possible with CDT debug facilities to change the source code while
debugging?
An example case may be:
* A program has 5 lines. Put breakpoint at line 2
* Start a debug session. The control stops at line 2
* Change line 4 and continue with debug
* The changed statement at line 4 should be reflected.

Is it possible with CDT? If not, what are the inherent problem of why this
facility is not supported in CDT.

Thanks for the details...
Re: Hot swap debugging [message #128604 is a reply to message #128486] Wed, 24 November 2004 09:39 Go to previous message
Eclipse UserFriend
Ramana,
The short answer is no.

The long answer is that this is not exclusively a CDT limitation. Very
few C/C++ compilers support this. The commercial compiler from MS does
have an option to build your source code in a way that will enable this
(I believe the flag is /ZI) but we do not currently have an integration
with their debugger. I suppose that if we had a good integration with
the MS tools and you had autobuild enabled, then in theory there would
be a chance it would work.

Sorry I don't have better news,

Sean

Ramana wrote:
> Is it possible with CDT debug facilities to change the source code while
> debugging? An example case may be:
> * A program has 5 lines. Put breakpoint at line 2
> * Start a debug session. The control stops at line 2
> * Change line 4 and continue with debug
> * The changed statement at line 4 should be reflected.
>
> Is it possible with CDT? If not, what are the inherent problem of why
> this facility is not supported in CDT.
>
> Thanks for the details...
>
>
Previous Topic:Why I can't build project?
Next Topic:add a cross platform debugger for mips
Goto Forum:
  


Current Time: Wed Oct 29 11:51:10 EDT 2025

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

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

Back to the top