Bug 78056 - debug goes to wrong target
Summary: debug goes to wrong target
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 08:22 UTC by cryst
Modified: 2004-03-20 22:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cryst 2004-03-20 08:22:40 UTC
Version:           3.0.2 (using KDE 3.2.1, Gentoo)
Compiler:          gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
OS:          Linux (i686) release 2.6.4-rc1-mm2

I have three targets in my project. But the debugging only goes to the first one. My Active directory makes no difference. 

The project is make with automake. The projects are
src
BigMult
pFactors

I can't seem to figure out how to make the debugger debug BigMult or pFactors.
Comment 1 Jens Dagerbo 2004-03-20 15:24:26 UTC
The active target is used for debugging, _IF_ the project->project options->run options->main program fields is NOT used. In this case the "main program" setting overrides active target for run and debugging.

(You might argue that this is non-obvious, even stupid, but it _does_ work.)
Comment 2 cryst 2004-03-20 22:37:15 UTC
Thank you for responding. It certainly is non-obvious (I searched for an hour before giving up). We need a cheat sheet titled, Creating/Using Multiple targets under One Project.


You are right it does work. Hopefully the next person having problems will see the bug title and response if they get stuck.