Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Plugging in a different C debugger?
Plugging in a different C debugger? [message #48745] Mon, 04 November 2002 19:22 Go to next message
Ed Burnette is currently offline Ed BurnetteFriend
Messages: 279
Registered: July 2009
Senior Member
I need to use a C debugger other than GDB. What would be the appropriate
place to plug this in? I checked the CDT development resources page and list
archives but didn't find anything relevant. In the C/C++ Application Launch
Configuration, Debugger tab, there's a drop down list for the Debugger but
it only has one item in it ("GDB Debugger"). From what I've been able to
tell, CDT talks to GDB through a protocol called MI. So perhaps one way to
go would be to write a class that had MI as its input and output, and
converted it into commands for my other debugger. Is that the preferred way
or would a more native interface that doesn't use MI be better? Any
additional info, examples, pointers, etc. would be appreciated.

Thanks.
Re: Plugging in a different C debugger? [message #48805 is a reply to message #48745] Mon, 04 November 2002 20:34 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

You should implement the CDI model for your debugger.
It's a part of org.eclipse.cdt.debug.core plugin. The CDI interfaces are
located in org.eclipse.cdt.debug.core.cdi,
org.eclipse.cdt.debug.core.cdi.model and
org.eclipse.cdt.debug.core.cdi.event packages.
Unfortunately, the documentation that describes how these interfaces
communicate is not available now.
The implementation of GDB/MI plugin is based on CDI model, so you can get
some ideas from it.

Mikhail Khodjaiants

"Ed Burnette" <ed.burnette@sas.com> wrote in message
news:aq6fgb$v08$1@rogue.oti.com...
> I need to use a C debugger other than GDB. What would be the appropriate
> place to plug this in? I checked the CDT development resources page and
list
> archives but didn't find anything relevant. In the C/C++ Application
Launch
> Configuration, Debugger tab, there's a drop down list for the Debugger but
> it only has one item in it ("GDB Debugger"). From what I've been able to
> tell, CDT talks to GDB through a protocol called MI. So perhaps one way to
> go would be to write a class that had MI as its input and output, and
> converted it into commands for my other debugger. Is that the preferred
way
> or would a more native interface that doesn't use MI be better? Any
> additional info, examples, pointers, etc. would be appreciated.
>
> Thanks.
>
>
>
>
Previous Topic:F4 compiler error parsing problems
Next Topic:Multiple exe's under one project
Goto Forum:
  


Current Time: Sat Aug 10 05:20:12 GMT 2024

Powered by FUDForum. Page generated in 0.03042 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top