[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] DSF - writing a view that uses the commandfactory
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On Behalf Of Marc Khouzam
> Sent: 02 November 2010 19:53
> To: 'CDT General developers list.'
> Subject: Re: [cdt-dev] DSF - writing a view that uses the commandfactory
>
>
>
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of dmsubs
> > Sent: Tuesday, November 02, 2010 7:34 AM
> > To: 'CDT General developers list.'
> > Subject: [cdt-dev] DSF - writing a view that uses the commandfactory
> >
> > HI,
> >
> > I am writing a debug view for a DSF debugger (actually, the DSF-GDB
> > debugger). The view needs to read data from the debug target using the
> > CommandFactory.
> >
> > How do I obtain the correct command factory for my view? The view
> > needs to track the current debug context.
> >
> > I have read the documents: "How to write a DSF debugger" and "Intro to
> > programming with DSF", and have looked at the DSF 'PDA' and 'Timer'
> > examples, but I haven't found what I am looking for.
>
> The CommandFactory is a DSF-GDB specific concept so it's not part of any
DSF
> document. And we don't have any DSF-GDB documents besides the
> different wiki pages which you can find under
> http://wiki.eclipse.org/CDT/designs
> You can find some info about the CommandFacotry under the "DSF-GDB
> extensibility" link.
>
> Basically, you obtain the CommandFactory using the IMICommandControl
> service which you can get using a DsfServicesTracker.
Thanks for the info... Now, how do I get hold of a DsfServicesTracker that
would know about this?
>
> I hope this helps.
>
> marc
>
> >
> > Any pointers gratefully received!
> >
> > Thanks
> > --
> > 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