Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Proposed patch for a new service which returns the fully qualified persistent name for an IDMContext

Hi All,

I have filed a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=363692 and attached a patch to it, containing the proposed implementation for a service which returns the fully qualified persistent name for an IDMContext. This service can be used as a part of a wider context persistence module.

Currently the scope of this bug is narrowly defined to only a service which can return the fully qualified persistent name, however, this service will later be used by clients such as DsfCastToTypeSupport which can save the cast applied to a variable.

For the next step, we need to define another service which accepts a dmcontext and a set of persistable attributes and saves these attributes when launch is shutdown. This service will also be consulted when the dmcontext object is re-created in the next debug session, and will restore the set of persisted attributes for the dmcontext. Clients can then use the second service to set and get persistent attributes for dmcontext objects.

We can either broaden the scope of this current bugzilla to include the other service, or I can file a new bugzilla which depends on 363692.

Please do take a look at the bug and the patch, and let me know if this service will be suitable for everyone who is looking for context persistence. This is the first time I am submitting an enhancement patch, apologies in advance if there are some obvious mistakes.

Thanks
Abeer Bagul
Tensilica India.


Back to the top