Bug 76265

Summary: Add menu item to debug any executable
Product: [Applications] kdevelop Reporter: Martin Pärtel <martin.partel>
Component: CPP DebuggerAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist    
Priority: NOR    
Version: 3.0.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Pärtel 2004-02-27 12:55:21 UTC
Version:           3.0.1 (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Linux

If there are many executables in a project (under different subprojects and/or targets) it would be nice to have a list of them in the debug menu instead of having to go to Project->Project Options...->Run Options and select the execuable there each time.
Comment 1 Jens Dagerbo 2004-02-27 13:05:18 UTC
You don't have to do it that way. KDevelop will use the currently active target for Execute and Debug. Just mark the target you're working on in the Automake Manager as 'active' (context menu option).
Comment 2 Martin Pärtel 2004-02-27 13:19:48 UTC
Doesn't work for me for some reason... It still uses the entry in Project Options->Run Options. One of my targets is a library and I have three other "Program in noinst" targets in another subproject. No matter which one I activate it still uses the global setting.

Or is this fixed in the CVS already?
Comment 3 Amilcar do Carmo Lucas 2004-02-27 13:34:33 UTC
Can you read???

It says on "Project Options->Run Options" that it needs to be empty in order to use the active target.
 
Comment 4 Jens Dagerbo 2004-02-27 13:38:18 UTC
You didn't read the dialog too carefully, did you? ;)

Verbatim:
"Run Options - Program (if empty automatically uses active target and active target's arguments)"

Note, the "if empty" part of it. Just clear the box. :)


It's still a valid wish, I guess.
Comment 5 Martin Pärtel 2004-02-27 17:21:42 UTC
Oops...I should read more carefully. Sorry about this!