Bug 78056

Summary: debug goes to wrong target
Product: [Applications] kdevelop Reporter: cryst
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 3.0.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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.