[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cdt-dev] DSF - writing a view that uses the commandfactory
- From: "Chuong, Patrick" <pchuong@xxxxxx>
- Date: Tue, 2 Nov 2010 16:31:24 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: firstname.lastname@example.org
- Thread-index: AQI8Pfp69WEyARYA91755lpGgMsjCQKtNyBEkme9GKCAAAZ6sA==
- Thread-topic: [cdt-dev] DSF - writing a view that uses the commandfactory
If you know the session id, you should be able to create a new DsfServicesTracker and than call the getService API.
t = new DsfServicesTracker(bundleContext, sessionId);
s = t.getService(serviceClass)
Hope this help.
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of dmsubs
Sent: Tuesday, November 02, 2010 5:04 PM
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 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
> document. And we don't have any DSF-GDB documents besides the
> different wiki pages which you can find under
> 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.
> > 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 mailing list