Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How does CDT get type info in Variable View
How does CDT get type info in Variable View [message #808524] Mon, 27 February 2012 21:52 Go to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 25
Registered: October 2010
Junior Member
Does anyone know how CDT gets the type info for the Variable View? I'm wondering if it is handled by the view itself, I can't find any API to provide type info is you are extending a Variable View from CDT. If anyone knows many thanks.

Thanks,

George F.




Re: How does CDT get type info in Variable View [message #808532 is a reply to message #808524] Mon, 27 February 2012 22:02 Go to previous message
Marc Khouzam is currently offline Marc KhouzamFriend
Messages: 357
Registered: July 2009
Senior Member
If you are looking at CDT's default integration of GDB (uses DSF), the variables view gets the type in:
VariableVMNode.updatePropertiesInSessionThread() which calls fillExpressionDataProperties(), which uses IExpressionDMData.getTypeName().

The relevant plugins are
org.eclipse.cdt.dsf
org.eclipse.cdt.dsf.ui
org.eclipse.cdt.dsf.gdb
org.eclipse.cdt.dsf.gdb.ui

Marc

Previous Topic:Problem with builder settings using workspace_loc on Linux
Next Topic:Telling Indexer to use Mac OpenCL framework
Goto Forum:
  


Current Time: Fri Apr 26 05:15:19 GMT 2024

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

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

Back to the top