Hi Ken,
I am exploring the options of integrating
breakpoints into DSF, the first thing that I saw when debugging line breakpoint
is DSF creates a CLineBreakpoint, which than activated the CDT plugins. I am
wondering if it is possible to not depended on CLineBreakpoint (and other types
of CDT breakpoint) and have my own breakpoint implementation. Currently I am
not able to find a suitable breakpoint solution that fits our debugger, having
my own breakpoint implementation and bypassing CDT breakpoint is my first
reaction.
Our team is also exploring the option of
creating our own launch and source lookup, than the only dependency are few CDI
interfaces.
We uses a CDT version that is few years
old, with many changes to fit our debugger, it is not as easy as I hope to
migrate to DSF.
Patrick
From:
cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of ken.ryall@xxxxxxxxx
Sent: Tuesday, April 21, 2009 4:44
PM
To: cdt-dev@xxxxxxxxxxx
Subject: Re: [cdt-dev] DSF
depended on CDT
If someone wants to pull part of
CDT out and use it separately they can certainly try, but that’s
completely unsupported.
Patrick, I’m curious about the underlying issue? What has led you to
decide not to use CDT? If you have an existing CDI debugger you should be able
to migrate it to use DSF without tossing out CDT.
Thanks - Ken
From: ext Marc
Khouzam <marc.khouzam@xxxxxxxxxxxx>
Reply-To: "CDT General
developers list." <cdt-dev@xxxxxxxxxxx>
Date: Tue, 21 Apr 2009 22:31:25
+0200
To: "CDT General developers
list." <cdt-dev@xxxxxxxxxxx>
Subject: RE: [cdt-dev] DSF
depended on CDT
That was my first reaction too: "DSF is part
of CDT".
But then I thought that one may want to take just the two DSF plugins and
include them in their package, say they have
their own C/C++ environment (shame on them :-)). I guess it would amount
to DSF being part of the platform...
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Schaefer, Doug
Sent: Tuesday, April 21, 2009 4:13
PM
To: CDT General developers
list.
Subject: RE: [cdt-dev] DSF
depended on CDT
I assume you mean CDI, not CDT. DSF is now an
intergral part of the CDT. You can add as many dependencies as you'd
like. However I understand the need to eliminate dependencies between DSF
and CDI so that adopters can pick one or the other for their products and
have the one they are not using not show up.
Doug.
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Marc Khouzam
Sent: Tuesday, April 21, 2009 3:37
PM
To: CDT General developers
list.
Subject: RE: [cdt-dev] DSF
depended on CDT
Sorry, I thought you were using DSF-GDB.
Yes, it would be possible to remove the
dependencies on the CDT from the
DSF framework. In fact I believe this
is part of the long term plan for DSF,
but I don't have more details. Maybe
someone else would know better.
Marc
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Chuong, Patrick
Sent: Tuesday, April 21, 2009 2:47
PM
To: CDT General developers
list.
Subject: RE: [cdt-dev] DSF
depended on CDT
I am using DSF framework for my own
debugger, non-gdb.
Yes, the extra CDT plugins were activated.
Thanks,
Patrick
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Marc Khouzam
Sent: Tuesday, April 21, 2009 2:42
PM
To: CDT General developers
list.
Subject: RE: [cdt-dev] DSF
depended on CDT
Hi,
We re-use some of the CDT constructs for
convenience.
Are you simply using the DSF framework for
your own debugger, or are you using the full
DSF-GDB (launching and debugging with GDB)?
I'm not sure what you mean by "CDIDebugModel was sucked in"
Do you mean that the extra CDT plugins were
activated when you were using DSF?
Thanks
marc
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Chuong, Patrick
Sent: Tuesday, April 21, 2009 2:00
PM
To: CDT General developers list.
Subject: RE: [cdt-dev] DSF
depended on CDT
Hi Marc,
Just to reiterate what you mean, DSF is
depended on CDT and it is part of the CDT installation.
There is a hand full of dependency on CDT,
i.e IAddress, Addr64, ICBreakpoint, ICBreakpointExtension,
CSourceLookupDirectory, CDebugImages. Can these interfaces and
implementations be redefined in DSF and the implementation be
re-implemented in DSF? So that DSF can remove the CDT dependency for the
debugging part.
While I am debugging DSF code for setting a
CLineBreakpoint, CDIDebugModel was sucked in for the breakpoint marker,
as well as the CDebugModemPresentation. It looks like DSF is depended in
CDT in a number of areas.
I am trying to make sense of the
relationship between DSF and CDT. Are there any reasons why DSF is
relying on some of the CDT interfaces and implementation?
Thanks again,
Patrick
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Marc Khouzam
Sent: Tuesday, April 21, 2009
11:57 AM
To: CDT General developers
list.
Subject: RE: [cdt-dev] DSF
depended on CDT
Hi,
DSF and DSF-GDB have now been moved to the
CDT project.
What that means is that, starting with
Galileo (eclipse 3.5) when installing CDT you will automatically
get DSF and DSF-GDB.
There are no other dependencies.
Marc
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Chuong, Patrick
Sent: Tuesday, April 21, 2009
11:08 AM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] DSF depended on
CDT
Hi,
I am browsing through the DSF plugins and I see that DSF depended
on several CDT plugins, is this a temporary solution? Will this
dependency goes away in future DSF release? Is there any other runtime
dependency that you can point out that is not explicitly defined in the
plugin manifest file?
Thanks,
Patrick