Home » Language IDEs » C / C++ IDE (CDT) » Eclipse debugger implements an external debugger
Eclipse debugger implements an external debugger [message #104016] |
Fri, 28 May 2004 09:43  |
Eclipse User |
|
|
|
Originally posted by: soranom.ar.ibm.com
Hello,
I write with a little urgent because a I have to implement a plugin
Debugger that it'll use an external debugger.
And looking for some examples, I found that CDT is closer to my debug
model.
But the only problem is there are so many classes and interfaces that I
can't understand its design model. :(
Could anybody explain me:
1) which are the package or classes or interfaces that implement the
communication between the plugin and the external debugger?
2) how do you implement, i.e. the interaction with Variable view?
Thanks a lot for your help!
María de los Angeles Sorano
|
|
|
Re: Eclipse debugger implements an external debugger [message #104032 is a reply to message #104016] |
Fri, 28 May 2004 11:35   |
Eclipse User |
|
|
|
Originally posted by: mikhailk.qnx.com
Please, see my comments inline.
"Angeles Sorano" <soranom@ar.ibm.com> wrote in message
news:c97fml$he$1@eclipse.org...
>
> Hello,
>
> I write with a little urgent because a I have to implement a plugin
> Debugger that it'll use an external debugger.
> And looking for some examples, I found that CDT is closer to my debug
> model.
> But the only problem is there are so many classes and interfaces that I
> can't understand its design model. :(
>
> Could anybody explain me:
> 1) which are the package or classes or interfaces that implement the
> communication between the plugin and the external debugger?
To integrate a C/C++ debugger into CDT you can you should implement the
so-called CDI interface. It's in the "org.eclipse.cdt.debug.core.cdi",
"org.eclipse.cdt.debug.core.cdi.event",
"org.eclipse.cdt.debug.core.cdi.model" and
"org.eclipse.cdt.debug.core.cdi.model.type" packeges of the
"org.eclipse.cdt.debug.core' plugin.
You also have to extend the "org.eclipse.cdt.debug.core.CDebugger" extension
point.
You can use as an example the "org.eclipse.cdt.debug.mi.core" plugin which
is a debugger implementation based on gdb.
> 2) how do you implement, i.e. the interaction with Variable view?
The Eclipse platform provides a group of interfaces that you need to
implement to interact with the generic views. The CDT implements these
interfaces, so if you provide the implementation of CDI, you will get the
interaction with all views automatically. And, of course, you can extend the
behavior by contributing your own actions.
>
> Thanks a lot for your help!
> Mar
|
|
|
Re: Eclipse debugger implements an external debugger [message #105493 is a reply to message #104032] |
Tue, 08 June 2004 14:31   |
Eclipse User |
|
|
|
Originally posted by: soranom.ar.ibm.com
Thanks Mikhail for anwser me.
I have one more question: do you know how is the communication between
Eclipse and the external debugger??...by JNI, sockets??
Thanks!!!!
Angeles
Mikhail Khodjaiants wrote:
> Please, see my comments inline.
> "Angeles Sorano" <soranom@ar.ibm.com> wrote in message
> news:c97fml$he$1@eclipse.org...
> >
> > Hello,
> >
> > I write with a little urgent because a I have to implement a plugin
> > Debugger that it'll use an external debugger.
> > And looking for some examples, I found that CDT is closer to my debug
> > model.
> > But the only problem is there are so many classes and interfaces that I
> > can't understand its design model. :(
> >
> > Could anybody explain me:
> > 1) which are the package or classes or interfaces that implement the
> > communication between the plugin and the external debugger?
> To integrate a C/C++ debugger into CDT you can you should implement the
> so-called CDI interface. It's in the "org.eclipse.cdt.debug.core.cdi",
> "org.eclipse.cdt.debug.core.cdi.event",
> "org.eclipse.cdt.debug.core.cdi.model" and
> "org.eclipse.cdt.debug.core.cdi.model.type" packeges of the
> "org.eclipse.cdt.debug.core' plugin.
> You also have to extend the "org.eclipse.cdt.debug.core.CDebugger" extension
> point.
> You can use as an example the "org.eclipse.cdt.debug.mi.core" plugin which
> is a debugger implementation based on gdb.
> > 2) how do you implement, i.e. the interaction with Variable view?
> The Eclipse platform provides a group of interfaces that you need to
> implement to interact with the generic views. The CDT implements these
> interfaces, so if you provide the implementation of CDI, you will get the
> interaction with all views automatically. And, of course, you can extend the
> behavior by contributing your own actions.
> >
> > Thanks a lot for your help!
> > María de los Angeles Sorano
> >
|
|
|
Re: Eclipse debugger implements an external debugger [message #105506 is a reply to message #105493] |
Tue, 08 June 2004 17:27   |
Eclipse User |
|
|
|
Originally posted by: mikhailk.qnx.com
The CDI implementation provided by CDT is based on the GDB/MI interface. It
sends gdb commands directly to the gdb input and reads the gdb output.
But there are implementations that use JNI to communicate directly to OS and
libraries..
"Angeles Sorano" <soranom@ar.ibm.com> wrote in message
news:ca50lj$h9$1@eclipse.org...
> Thanks Mikhail for anwser me.
>
> I have one more question: do you know how is the communication between
> Eclipse and the external debugger??...by JNI, sockets??
>
> Thanks!!!!
> Angeles
>
> Mikhail Khodjaiants wrote:
>
> > Please, see my comments inline.
> > "Angeles Sorano" <soranom@ar.ibm.com> wrote in message
> > news:c97fml$he$1@eclipse.org...
> > >
> > > Hello,
> > >
> > > I write with a little urgent because a I have to implement a plugin
> > > Debugger that it'll use an external debugger.
> > > And looking for some examples, I found that CDT is closer to my debug
> > > model.
> > > But the only problem is there are so many classes and interfaces that
I
> > > can't understand its design model. :(
> > >
> > > Could anybody explain me:
> > > 1) which are the package or classes or interfaces that implement the
> > > communication between the plugin and the external debugger?
>
> > To integrate a C/C++ debugger into CDT you can you should implement the
> > so-called CDI interface. It's in the "org.eclipse.cdt.debug.core.cdi",
> > "org.eclipse.cdt.debug.core.cdi.event",
> > "org.eclipse.cdt.debug.core.cdi.model" and
> > "org.eclipse.cdt.debug.core.cdi.model.type" packeges of the
> > "org.eclipse.cdt.debug.core' plugin.
> > You also have to extend the "org.eclipse.cdt.debug.core.CDebugger"
extension
> > point.
> > You can use as an example the "org.eclipse.cdt.debug.mi.core" plugin
which
> > is a debugger implementation based on gdb.
>
> > > 2) how do you implement, i.e. the interaction with Variable view?
>
> > The Eclipse platform provides a group of interfaces that you need to
> > implement to interact with the generic views. The CDT implements these
> > interfaces, so if you provide the implementation of CDI, you will get
the
> > interaction with all views automatically. And, of course, you can extend
the
> > behavior by contributing your own actions.
>
> > >
> > > Thanks a lot for your help!
> > > Mar
|
|
|
Re: Eclipse debugger implements an external debugger [message #105538 is a reply to message #105506] |
Wed, 09 June 2004 08:35   |
Eclipse User |
|
|
|
Originally posted by: soranom.ar.ibm.com
Ok,
do you have any material/documents thats explain GDB/MI interface?
Because there are so many classes and interfaces that i cannot understand
the model.
I'd like to know if MI architecture is the correct model that I have to
use.
Thanks!
Angeles
Mikhail Khodjaiants wrote:
> The CDI implementation provided by CDT is based on the GDB/MI interface. It
> sends gdb commands directly to the gdb input and reads the gdb output.
> But there are implementations that use JNI to communicate directly to OS and
> libraries..
> "Angeles Sorano" <soranom@ar.ibm.com> wrote in message
> news:ca50lj$h9$1@eclipse.org...
> > Thanks Mikhail for anwser me.
> >
> > I have one more question: do you know how is the communication between
> > Eclipse and the external debugger??...by JNI, sockets??
> >
> > Thanks!!!!
> > Angeles
> >
> > Mikhail Khodjaiants wrote:
> >
> > > Please, see my comments inline.
> > > "Angeles Sorano" <soranom@ar.ibm.com> wrote in message
> > > news:c97fml$he$1@eclipse.org...
> > > >
> > > > Hello,
> > > >
> > > > I write with a little urgent because a I have to implement a plugin
> > > > Debugger that it'll use an external debugger.
> > > > And looking for some examples, I found that CDT is closer to my debug
> > > > model.
> > > > But the only problem is there are so many classes and interfaces that
> I
> > > > can't understand its design model. :(
> > > >
> > > > Could anybody explain me:
> > > > 1) which are the package or classes or interfaces that implement the
> > > > communication between the plugin and the external debugger?
> >
> > > To integrate a C/C++ debugger into CDT you can you should implement the
> > > so-called CDI interface. It's in the "org.eclipse.cdt.debug.core.cdi",
> > > "org.eclipse.cdt.debug.core.cdi.event",
> > > "org.eclipse.cdt.debug.core.cdi.model" and
> > > "org.eclipse.cdt.debug.core.cdi.model.type" packeges of the
> > > "org.eclipse.cdt.debug.core' plugin.
> > > You also have to extend the "org.eclipse.cdt.debug.core.CDebugger"
> extension
> > > point.
> > > You can use as an example the "org.eclipse.cdt.debug.mi.core" plugin
> which
> > > is a debugger implementation based on gdb.
> >
> > > > 2) how do you implement, i.e. the interaction with Variable view?
> >
> > > The Eclipse platform provides a group of interfaces that you need to
> > > implement to interact with the generic views. The CDT implements these
> > > interfaces, so if you provide the implementation of CDI, you will get
> the
> > > interaction with all views automatically. And, of course, you can extend
> the
> > > behavior by contributing your own actions.
> >
> > > >
> > > > Thanks a lot for your help!
> > > > María de los Angeles Sorano
> > > >
> >
> >
|
|
|
Re: Eclipse debugger implements an external debugger [message #105549 is a reply to message #105538] |
Wed, 09 June 2004 10:27   |
Eclipse User |
|
|
|
Originally posted by: mikhailk.qnx.com
http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html #SEC215
"Angeles Sorano" <soranom@ar.ibm.com> wrote in message
news:ca706v$4vi$1@eclipse.org...
> Ok,
> do you have any material/documents thats explain GDB/MI interface?
> Because there are so many classes and interfaces that i cannot understand
> the model.
> I'd like to know if MI architecture is the correct model that I have to
> use.
>
> Thanks!
> Angeles
>
> Mikhail Khodjaiants wrote:
>
> > The CDI implementation provided by CDT is based on the GDB/MI interface.
It
> > sends gdb commands directly to the gdb input and reads the gdb output.
> > But there are implementations that use JNI to communicate directly to OS
and
> > libraries..
>
> > "Angeles Sorano" <soranom@ar.ibm.com> wrote in message
> > news:ca50lj$h9$1@eclipse.org...
> > > Thanks Mikhail for anwser me.
> > >
> > > I have one more question: do you know how is the communication between
> > > Eclipse and the external debugger??...by JNI, sockets??
> > >
> > > Thanks!!!!
> > > Angeles
> > >
> > > Mikhail Khodjaiants wrote:
> > >
> > > > Please, see my comments inline.
> > > > "Angeles Sorano" <soranom@ar.ibm.com> wrote in message
> > > > news:c97fml$he$1@eclipse.org...
> > > > >
> > > > > Hello,
> > > > >
> > > > > I write with a little urgent because a I have to implement a
plugin
> > > > > Debugger that it'll use an external debugger.
> > > > > And looking for some examples, I found that CDT is closer to my
debug
> > > > > model.
> > > > > But the only problem is there are so many classes and interfaces
that
> > I
> > > > > can't understand its design model. :(
> > > > >
> > > > > Could anybody explain me:
> > > > > 1) which are the package or classes or interfaces that implement
the
> > > > > communication between the plugin and the external debugger?
> > >
> > > > To integrate a C/C++ debugger into CDT you can you should implement
the
> > > > so-called CDI interface. It's in the
"org.eclipse.cdt.debug.core.cdi",
> > > > "org.eclipse.cdt.debug.core.cdi.event",
> > > > "org.eclipse.cdt.debug.core.cdi.model" and
> > > > "org.eclipse.cdt.debug.core.cdi.model.type" packeges of the
> > > > "org.eclipse.cdt.debug.core' plugin.
> > > > You also have to extend the "org.eclipse.cdt.debug.core.CDebugger"
> > extension
> > > > point.
> > > > You can use as an example the "org.eclipse.cdt.debug.mi.core" plugin
> > which
> > > > is a debugger implementation based on gdb.
> > >
> > > > > 2) how do you implement, i.e. the interaction with Variable view?
> > >
> > > > The Eclipse platform provides a group of interfaces that you need to
> > > > implement to interact with the generic views. The CDT implements
these
> > > > interfaces, so if you provide the implementation of CDI, you will
get
> > the
> > > > interaction with all views automatically. And, of course, you can
extend
> > the
> > > > behavior by contributing your own actions.
> > >
> > > > >
> > > > > Thanks a lot for your help!
> > > > > Mar
|
|
|
Re: Eclipse debugger implements an external debugger [message #106497 is a reply to message #104016] |
Wed, 16 June 2004 11:31  |
Eclipse User |
|
|
|
I wonder if you know if the Windows Toolkit Debuger (WinDgb)
can be used as an External Debugger.
Here's a link to it:
http://www.microsoft.com/whdc/devtools/debugging/default.msp x
On Fri, 28 May 2004 13:43:49 +0000 (UTC), soranom@ar.ibm.com (Angeles
Sorano) wrote:
>
>Hello,
>
>I write with a little urgent because a I have to implement a plugin
>Debugger that it'll use an external debugger.
>And looking for some examples, I found that CDT is closer to my debug
>model.
>But the only problem is there are so many classes and interfaces that I
>can't understand its design model. :(
>
>Could anybody explain me:
>1) which are the package or classes or interfaces that implement the
>communication between the plugin and the external debugger?
>2) how do you implement, i.e. the interaction with Variable view?
>
>Thanks a lot for your help!
>María de los Angeles Sorano
|
|
|
Goto Forum:
Current Time: Tue Jul 22 13:03:02 EDT 2025
Powered by FUDForum. Page generated in 0.06739 seconds
|