[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] DSF: creating a new debug view
|
I think the request is more to provide a new view for the data.
Unfortunately we are limited here as well, because the
GdbViewModelAdapter is the entry point for content for all the flexible
hierarchy views. So we would need an extension point in the DSF-GDB
debugger to allow third parties to contribute new VMProvider factories.
It would probably be a simple API, but it doesn't exist now.
Cheers,
Pawel
On 01/18/2011 02:53 PM, John Cortell wrote:
Each specific DSF debugger implementation dictates which DSF services
it will use. None of the stock DSF debuggers (dsf-gdb, edc) allow
someone to inject an arbitrary service into the mix.
Off the top of my head, I don't know why we couldn't make the
debuggers discover (through an extension point) additional services to
involve. I think that would solve your problem. You may want to take a
crack at adding that support and contributing it.
John
At 03:29 AM 1/18/2011, dmsubs wrote:
Hi,
I am trying to implement a plugin that provides a new debug view,
using DSF.
I want this view to be applicable to any (gdb) debugger.
What I am struggling with is how my plugin can add a service and a
VMProvider to a debug session.
Looking through the GDB debugger code within CDT (Helios), services are
created in GdbDebugServicesFactory, and the services are created
through the
GdbViewModelAdapter, but these are (obviously) defined with CDT. The DSF
examples don't seem to help me with this question either. I have also
read
the DSF tutorial and looked through the documentation. I really don't
want
to have to rebuild and ship my own copy of CDT, just to add support
for my
plugin.
So, how can my plugin add my service and VMProvider to a standard CDT
distribution?
Thanks for your help,
--
Subs
_______________________________________________
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