Bug 76265 - Add menu item to debug any executable
Summary: Add menu item to debug any executable
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: 3.0.1
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 12:55 UTC by Martin Pärtel
Modified: 2004-02-27 17:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!