Bug 60068

Summary: Starting the program under the debugger
Product: [Applications] kdevelop Reporter: Sphere <sphere1952>
Component: CPP DebuggerAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sphere 2003-06-19 16:22:04 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources

Having reviewed bugs 57710 and 41166, I'll enter this as it's what they
really wanted.

If the program is in a debuggable state you should be able to use Debug
step into (or the icon) to start the program and stop at the first line of
your code.  (Whether "step over" is available to do the same thing is
one of those fuzzy interface questions, but I would vote yes.)

Gideon should be smart enough not to give these options if either the
program was not built debug or the program is not runable (failed build) --
but this could be seen as a later improvement.

Sphere.
Comment 1 John Birch 2003-08-03 10:45:37 UTC
For the start using step into I'm afraid that gdb does not work this way. To 
make this work could be very hard. 
 
If there is no debug info in your program then you can still debug the 
executable at the assembly level. And yes, this would only apply to a few 
people but I am not going to take their fun away :-)