Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] RE: Show full paths preference under C/C++->Debug

Hi,

I believe this preference is meant to trigger the very first time the debug view and breakpoints view is opened.    The way I imagine it
is that if you create a new workspace and you import your preference file, you can have the debug/breakpoints view show full paths
or not based on that preference, instead of having to set the option manually in the view.

>From what I see it is being used by
ShowFullPathsAction#init (from ViewFilterAction) which calls getPreferenceValue(), which will check that preference but only
if the view in question doesn't have it set specifically (i.e., only the first time the view is opened, in a new workspace).
This logic works for both CDI and DSF (https://bugs.eclipse.org/bugs/show_bug.cgi?id=248627<https://rvi.ca.ericsson.net/bugs/,DanaInfo=bugs.eclipse.org,SSL+show_bug.cgi?id=248627>)

Marc

________________________________
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Warren.Paul@xxxxxxxxx [Warren.Paul@xxxxxxxxx]
Sent: June 15, 2010 5:33 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Show full paths preference under C/C++->Debug

This is under the “Opened view default settings” group in CDebugPreferencePage.  It doesn’t appear to be hooked up to either CDI or DSF debuggers.  There are actions on the Debug and Breakpoints view to toggle this option for each view.  Can/should this preference be removed?

Thanks,
Warren



Back to the top