Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 357081

Summary: The functionality in CDebuggerTab#getBinary should be in LaunchUtils with other getBinary methods
Product: [Tools] CDT Reporter: Daniel Thomas <daniel.thomas>
Component: cdt-otherAssignee: Project Inbox <cdt-core-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3    
Version: 8.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch to do this none

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