Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Is eclipse DSF framework some GDB MI enviroment ?(Is there some DSF-based debugger not tied with GDB ?)
Is eclipse DSF framework some GDB MI enviroment ? [message #1699061] Sat, 20 June 2015 01:25 Go to next message
Eugene Kalagin is currently offline Eugene KalaginFriend
Messages: 6
Registered: November 2011
Location: Moscow, Russian Federati...
Junior Member
Hi all ! I work with some debugger addon, which I want to see as universal as possible. One of the most of it's parts is to capture variables from debugger. Now I'm able to capture from JDT- and DLTK- based debuggers. And want to learn CDT capturing. Unfortunately, DSF (and CDT at all) development documentation is very poor. So my main DSF(and CDT) learning method is hacking and experiments.
(By the way, there is an excellent DSF-learning project - DDT. D-lang development tools).
Now the result of my researches is the conclusion, that DSF framework tied very closely with GDB MI. Furthermore, I know only two DSF-based development platforms - CDT and DDT. Now I almost can to capture variables from DSF.
But I'm worry, is GDB MI the only possible DSF backend ???
Can I write code, assuming that I newer meet some DSF-based development platform which use something other instead GDB ???

And the second question. I know only 3 debugging frameworks in Eclipse.
1) Standart dedugging model (JDT)
2) DLTK
3) DSF
Is it correct ??? Is there some other debugging frameworks ???

Regards
Eugene.
Re: Is eclipse DSF framework some GDB MI enviroment ? [message #1699228 is a reply to message #1699061] Mon, 22 June 2015 18:00 Go to previous message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
Hi,

I personally think that DSF seems very tied to GDB simply because GDB is the simplest and best way to debug different platforms, so instead of integrating a new debugger with DSF, people use both DSF and GDB for their platform, and most of the work is already done for them. But DSF is not tied to GDB, and there are other debuggers integrated with DSF. There are a couple of proprietary debuggers that use DSF that I know of, and there was also the open-source EDC debugger from Nokia, which is no longer maintained.

I don't know the details of what you are trying to do, but my guess is that the best way to get variables, even when using GDB, is to use the DSF IExpressions.java service. If you use that API, you should be able to get what you need and be using only DSF.

Marc
Previous Topic:Subclassing GdbLaunchDelegate causes "Error in final launch sequence"
Next Topic:Linked resource (folder/file) Luna/Mars
Goto Forum:
  


Current Time: Thu Sep 26 18:20:16 GMT 2024

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

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

Back to the top