[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-dd-dev] DSF MI prototype, Debugger Services Framework (DSF)
|
Hi All,
Today I also checked in an initial MI-based debugger prototype based on
DSF.
To build the prototype:
-
Install Eclipse 3.2, CDT 3.1, and latest cygwin with GDB.
-
Create a new CDT executable project and build a "hello world"
program
-
Create a new "DSF C/C++ Local Application" (one with the pink icon) launch
configuration and set the executable and entry point.
-
Launch and step through.
The prorotype is very bare-bone right now and pretty buggy, but hopefully
it's enough to demonstrate the basic design philosophy. The limitations
are:
-
single-thread only
-
output-only console
-
no breakpoints
-
no locals.
That's unfortunately all I had time for so far. On the upside, the
code re-uses a lot of CDT MI implementation, both as re-factored chunks of code
and by directly referencing classes from CDT plugins. This should make it
easier to compare the two implementations.
Cheers
Pawel
From: Piech, Pawel
Sent: Monday, July 31, 2006 4:52 PM
To:
'dsdp-dd-dev@xxxxxxxxxxx'
Subject: Debugger Services Framework (DSF)
initial commit
At last we checked in
the initial version of the Debugger Services Framework (DSF) into
/cvsroot/dsdp/org.eclipse.dd.dsf, as part of the Device Debugging
project. It took a lot longer to get to this point than I had expected, but hopefully that will be reflected in the quality
of the code and documentation. We are also still putting together a GDB-based
prototype, which we expect to check in on
Wednesday with most basic features and the we'll keep adding features to it
until we have most of the debug interfaces
validated.
What we did check in
so far is the following:
-
A white
paper describing the goals for the DSF
and how they were addressed. This is a general overview and introduction
to the framework and should at least be glossed over before looking at code
and other documents.
-
Three design documents describing the concurrency
model, services
model, and data
model of the framework. These documents go into details of the
design, and are meant to be read with code and the examples as a reference.
-
Two plugins that make up the framework itself:
org.eclipse.dd.dsf and org.eclipse.dd.dsf.ui.
-
An plugin containing examples referenced in the
design documentation: org.eclipse.dd.dsf.examples.
- A
documentation plugin org.eclipse.dd.dsf.doc, to compile the javadocs
and pull together the design docs. The documents are viewable online at:
http://dsdp.eclipse.org/help/latest/index.jsp
We will go over these
in the Wednesday call, and answer any initial
questions.