Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] global source lookup

The use case is:

 

The user is loading multiple libraries/modules/DLLs  in their programs.

Each launch configurations is setup to load different program but the DLLs the programs loads is frequently the same between programs.

In that case the user has to specify in each launch configuration the path to the projects containing the source files for each of the DLL.

 

A preferable solution is to specify the projects with the commons DLLs source once and each of the launch configurations will be able to find the source file with no additional setup.

 

Isn’t this the reason we have Default Source Lookup?

All other containers added to the preference page work the same way, right?

They are shared between all launches.

 

I understand the need for much smarter source lookup that simple Project containers…

But that doesn’t mean we should remove the feature that is being used and working.

 

Thanks

Dobrin

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Thursday, February 03, 2011 2:28 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] global source lookup

 

Please take a look at https://bugs.eclipse.org/bugs/show_bug.cgi?id=225805#c20 for the reasoning behind the change. Target project source lookup is no longer the only option for the default lookup. As a side effect of my change, it's no longer possible to add specific projects to the global source lookup. We can try to change it back, but before we do that I would like to understand the use case. Using specific project names in the global preferences looks like a bad practice to me.

 

-sergey

 

On Thu, Feb 3, 2011 at 11:03 AM, Alexiev, Dobrin <dalexiev@xxxxxx> wrote:

Sergey,

Can you explain a bit more…

 

>>>> Why would you need a specific project in the global settings?

I want to specify set of projects that will be used for source lookup for all my launch configurations.

CDT used to work that way.  Why is that changed?

 

I am not sure I understand what you mean by:

>>>> The project that gets added in the global settings is the one that the launch configuration is attached to

It make sense the project that I specific  in the main tab of my launch configuration to be used as part for source lookup.

Why would I need to add it to the global preference? How will that make a difference if I add a project or I don’t add a project container to the global preference?

I’m pretty puzzled…

 

Thanks

Dobrin

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Sergey Prigogin
Sent: Thursday, February 03, 2011 1:52 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] global source lookup

 

The project that gets added in the global settings is the one that the launch configuration is attached to. Why would you need a specific project in the global settings?

 

-sergey

On Thu, Feb 3, 2011 at 10:43 AM, Alexiev, Dobrin <dalexiev@xxxxxx> wrote:

Hello,

 

I wanted to add a project to my global source Lookup.

In the preference page:  “C/C++ -> Debug -> Source Lookup Path” I clicked on the “Add” button.

In the “Add Source” dialog I selected the “project” item and clicked “OK”.

A new dialog “Referenced Project” popped up asking me about referenced project.

When I click “OK” a new item called “Project” appeared in my “Source Lookup Path” preference page, but I was never asked to specify the project !!!

If I select the “project” item the Edit button in the page is disabled.

 

Is there something I am missing.

This used to work well – I was able to specify the project in the past.

 

Thanks

Dobrin

 

 

 

 


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 


Back to the top