Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357081 - The functionality in CDebuggerTab#getBinary should be in LaunchUtils with other getBinary methods
Summary: The functionality in CDebuggerTab#getBinary should be in LaunchUtils with oth...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-other (show other bugs)
Version: 8.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-08 09:42 EDT by Daniel Thomas CLA
Modified: 2020-09-04 15:24 EDT (History)
0 users

See Also:


Attachments
Patch to do this (3.08 KB, patch)
2011-09-08 09:43 EDT, Daniel Thomas CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Thomas CLA 2011-09-08 09:42:35 EDT
Build Identifier: 

org.eclipse.cdt.launch.LaunchUtils contains two getBinary methods and org.eclipse.cdt.launch.ui.CDebuggerTab uses one of them after turning an ILaunchConfiguration into a programName and projectName. Since other classes want to be able to do a getBinary starting from an ILaunchConfiguration it makes sense to put this functionality into LaunchUtils to avoid duplicating it.

I have a patch which does this.
(Sorry if this is the wrong component I am not sure what /launch maps to)

Reproducible: Always
Comment 1 Daniel Thomas CLA 2011-09-08 09:43:14 EDT
Created attachment 202988 [details]
Patch to do this