Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » changing cdt to use a different debugger
changing cdt to use a different debugger [message #157453] Tue, 08 November 2005 14:01 Go to next message
Eclipse UserFriend
Originally posted by: jyread.yahoo.com

I want to build a version of the cdt w/my companys debugger. I have
downloaded all of the cdt plugins src and really need to know the
following to get started:
1) How dow I build eclipse w/my modified cdt?(when I get around to it)
2) Is there any documantaion on the architecture of he cdt debbuger
plugin
Re: changing cdt to use a different debugger [message #157494 is a reply to message #157453] Wed, 09 November 2005 03:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi Jackson,

you probably want to extend the point org.eclipse.cdt.debug.core.CDebugger.
I did that and conveniently derived the implementing class fom
org.eclipse.cdt.debug.mi.core.GDBDebugger, although deriving from ICDebugger
should be sufficient.

Looking into it I noticed that this interface is deprecated and there is
ICDIDebugger as newer recommended alternative, but I do not know whether
this works with the extension point. There are some hints in the online help
topics (CDT Plug-in Developer Guide / Reference / Extension Points Reference
/ org.eclipse.cdt.debug.core.CDebugger), but the documentation is made so
that some challenges are left over for the programmer :-)

The article http://www.eclipse.org/articles/Article-Debugger/how-to.html may
be valuable for background knowledge, although you probably don't want to
create your own debugger from this point because it would force you to
re-implement a lot of things CDT already has solved for you.

This is from my somewhat outdated memory knowledge of a corner of CDT that I
have only glimpsed into ...

Hope that it gives you a start.


Norbert



"Jackson Read" <jyread@yahoo.com> schrieb im Newsbeitrag
news:bc5c06232380123e3966c2fe307201e0$1@www.eclipse.org...
>I want to build a version of the cdt w/my companys debugger. I have
>downloaded all of the cdt plugins src and really need to know the following
>to get started:
> 1) How dow I build eclipse w/my modified cdt?(when I get around to it)
> 2) Is there any documantaion on the architecture of he cdt debbuger
> plugin
>
Re: changing cdt to use a different debugger [message #157554 is a reply to message #157494] Wed, 09 November 2005 10:38 Go to previous message
Eclipse UserFriend
Originally posted by: jyread.yahoo.com

Norbert Ploett wrote:
> Hi Jackson,
>
> you probably want to extend the point org.eclipse.cdt.debug.core.CDebugger.
> I did that and conveniently derived the implementing class fom
> org.eclipse.cdt.debug.mi.core.GDBDebugger, although deriving from ICDebugger
> should be sufficient.
>
> Looking into it I noticed that this interface is deprecated and there is
> ICDIDebugger as newer recommended alternative, but I do not know whether
> this works with the extension point. There are some hints in the online help
> topics (CDT Plug-in Developer Guide / Reference / Extension Points Reference
> / org.eclipse.cdt.debug.core.CDebugger), but the documentation is made so
> that some challenges are left over for the programmer :-)
>
> The article http://www.eclipse.org/articles/Article-Debugger/how-to.html may
> be valuable for background knowledge, although you probably don't want to
> create your own debugger from this point because it would force you to
> re-implement a lot of things CDT already has solved for you.
>
> This is from my somewhat outdated memory knowledge of a corner of CDT that I
> have only glimpsed into ...
>
> Hope that it gives you a start.
>
>
> Norbert
>
>
>
> "Jackson Read" <jyread@yahoo.com> schrieb im Newsbeitrag
> news:bc5c06232380123e3966c2fe307201e0$1@www.eclipse.org...
>
>>I want to build a version of the cdt w/my companys debugger. I have
>>downloaded all of the cdt plugins src and really need to know the following
>>to get started:
>>1) How dow I build eclipse w/my modified cdt?(when I get around to it)
>>2) Is there any documantaion on the architecture of he cdt debbuger
>>plugin
>>
>
>
>

Hi Norbert,

Thanks for the info. I have been checking out the docs you mentioned
this morining. The task of swapping in a new debugger doesnt seem that
hard from a distance. However, The problem is really like saying modify
this needle thats in a large haystack...1st you must find the needle. On
a more prosaic note: How did you set up your development enviroment.
My original plan was to use eclipse sans CDT then use the
run...workbench feature which is supposed to bring up a new eclipse
w/the addition of the plugins in my workspace ie my modified CDT...but
I have not been able to get my CDT pluigin loaded..I gues I have to
learn to crawl before I can walk. Thanks in advance


Jackson
Previous Topic:CDT 3.0.1 Now Available
Next Topic:Indexer issues
Goto Forum:
  


Current Time: Wed May 07 00:59:46 EDT 2025

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

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

Back to the top