Bug 267209 - [launch][cdi] Refresh project when launch process terminates
Summary: [launch][cdi] Refresh project when launch process terminates
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 10:35 EST by Marc Khouzam CLA
Modified: 2020-09-04 15:23 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2009-03-05 10:35:16 EST
CDI refreshes the project when a launch terminates.
I'm not sure we want to do that, but it is worth looking into.

See Bug 265498
Comment 1 James Blackburn CLA 2009-03-05 10:43:49 EST
In general, you really _don't_ want to refresh the project. This hurts a lot of CDT users on ClearCase, NFS, RDT. And is a complete waste of cycles on Windows.

When I get a few moments I hope to come up with something better in cdt.core for this.  We really don't want to add more places where refreshLocal happens 'just-in-case', as you lock that part of the resource tree until Eclipse has stat()'d it completely.

See bug 265504 for more on this.
Comment 2 Marc Khouzam CLA 2009-03-05 11:26:09 EST
(In reply to comment #1)
> In general, you really _don't_ want to refresh the project. This hurts a lot of
> CDT users on ClearCase, NFS, RDT. And is a complete waste of cycles on Windows.

Yeah, I got that feeling.
I got worried when I saw that CDI did it but not DSF.
I guess we can not refresh is it is now now and see if anyone complains.
Hopefully by then there will be a better solution.


Comment 3 Achim Bursian CLA 2010-02-18 15:02:47 EST
Just as a quick note: The "Refresh after launch" in CDI is the first thing I patch with each CDT version... to make it not happen! It takes several minutes to do the refresh in our case, and it never finds anything new.

So, if you still consider to add this feature, make it user selectable with a pref setting.