Bug 228301 - [persistence] Add a service to enable persistent storage of contexts and settings.
Summary: [persistence] Add a service to enable persistent storage of contexts and sett...
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 0 DD 1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 19:01 EDT by Pawel Piech CLA
Modified: 2020-09-04 15:26 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2008-04-22 19:01:04 EDT
Currently in DSF there is no mechanism to store persistent settings in a debug session.  The existing features which require this use other means to store these settings, such as the ILaunch object or IPresentationContext.  

It would be ideal if there was a service which abstracted the persistence mechanism.  This interface would need to perform two main tasks:

1) Provide a mechanism for persisting data model contexts and comparing contexts to ones that were persisted.
2) Provide mechanism to save and read persistent settings for a given data model context.
Comment 1 James Blackburn CLA 2009-01-08 19:14:13 EST
I'm not sure if this is related, but in CDI there are a bunch of user (instance specific, I would say) attributes which find their way into the launch xml.  For example: which global variables the user has chosen to be visible.  The launch xml seems the wrong place for this as in many cases they end up in version control.
Comment 2 Pawel Piech CLA 2009-01-09 16:00:15 EST
I think it is somewhat related.  Since filing this bug, I've been thinking about different needs for persistent storage.  One area is the display settings, which as you point out should really be saved with the view.  The other is configuration information, such as source lookup paths.  This proposed service is to create a DSF abstraction for the configuration information storage, which in most cases would be backed by the launch configuration.