Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Extending CDI launch Delegate

Hello,
We have extended the "LocalCDILaunchDelegate" class to provide our own launch configuration. In this launch configuration. I am setting all the attributes that probably a launch configuration created by CDI would have needed.(See the attached launch file)
Everything works fine except for the Source configuration due to which breakpoints can not be applied.
The project that we are debugging is not registered as a source container. I think I am missing some configuration parameter where CDT can take control and do that for me by default.

I would like CDI to take over and do all possible source configurationd that it does when we launch C/C++ local application. 
I am setting the following attribute in LaunchConfigurationWorkingCopy but it seems it is not enough

            wc.setAttribute(ILaunchConfiguration.ATTR_SOURCE_LOCATOR_ID, 

                            "org.eclipse.cdt.debug.core.sourceLocator");


Can someone help me ? 







 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

Attachment: New_configuration.launch
Description: Binary data


Back to the top