Bug 59735

Summary: should warn about unsaved documents or out of date binaries before starting debugging
Product: [Applications] kdevelop Reporter: JPollak <pardsbane>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: afrox, franke.daniel, jonsmirl, murphy.gebert
Priority: NOR    
Version: 3.0.0a4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description JPollak 2003-06-13 18:27:55 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources
Compiler:          GCC 3.2 
OS:          Linux

Gideon currently performs a 'save all' after choosing 'build project', but does not do the same thing when you start debugging. I think Gideon should automatically save all files and then prompt to rebuild the binaries if they are out of date.

Currently, starting a debug uses the old binaries, regardless of whether the source has changed or not.
Comment 1 Amilcar do Carmo Lucas 2004-01-28 10:48:51 UTC
*** Bug 72360 has been marked as a duplicate of this bug. ***
Comment 2 Jens Dagerbo 2004-01-28 14:30:45 UTC
If bug 72360 was a bug, so is this.
Comment 3 Jens Dagerbo 2004-04-18 15:16:58 UTC
*** Bug 79864 has been marked as a duplicate of this bug. ***
Comment 4 Jan Trmal 2004-08-08 15:50:48 UTC
KDevelop from CVS HEAD (20040808) has still this 'feature'. This should be configurable as 'Compile before Run' at least.
Comment 5 Amilcar do Carmo Lucas 2004-08-16 13:31:24 UTC
Jan it works already in "save-compile-run" the only problem is "save-compile-debug" like the bug report says.
Comment 6 Jens Dagerbo 2004-12-11 21:32:59 UTC
*** Bug 94957 has been marked as a duplicate of this bug. ***
Comment 7 Cornelius Thiele 2005-07-09 21:08:48 UTC
*** This bug has been confirmed by popular vote. ***
Comment 8 Cornelius Thiele 2005-07-09 21:12:29 UTC
VC6 did it so I was very used to that behaviour...
For all the time I have wasted because the debugger was still running an old binary and I couldn't figure out what was going on I probably dont need to be reminded anymore to recompile, but it's still a nice one.
Comment 9 Vladimir Prus 2006-01-24 10:13:22 UTC
SVN commit 501897 by vprus:

When starting debugger, try to detect if project is possibly modified
and offer to rebuild it.

BUG: 59735


 M  +131 -6    debuggerpart.cpp  
 M  +26 -0     debuggerpart.h