Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] FW: New topic in forum Target Communication Framework, called Expression Evaluation in DSF/TCF, by Serge Lamikhov

Title: Eclipse Community Forums

Hi TCF Committers,

 

Could one of you answer below post from the Forum ?

 

Thanks,

Martin

--

Martin Oberhuber, SMTS / Product Owner – Development Tools, Wind River

direct +43.662.457915.85  fax +43.662.457915.6

 

 

From: "forums-noreply@xxxxxxxxxxx" <forums-noreply@xxxxxxxxxxx>
Date: Friday 25 November 2016 at 15:13
To: Martin Oberhuber <Martin.Oberhuber@xxxxxxxxxxxxx>
Subject: New topic in forum Target Communication Framework, called _expression_ Evaluation in DSF/TCF, by Serge Lamikhov

 

Subject: _expression_ Evaluation in DSF/TCF

Author: Serge Lamikhov

Date: Fri, 25 November 2016 14:13

Hi,

I have been working on a module that interacts with the Eclipse debugger programmatically.

So far I have been able to perform all the required actions I have needed without having to invoke any implementation specific code, and this has worked with the CDT/DSF/TCF debugger.

However, I am now attempting to access expressions vie the IExpressionsManager interface and this seems to be problematic with the TCF debugger.

While I am able to add IExpression objects to the "expressions" view via the IExpressionsManager, and the values in the view are displayed properly, The IExpression object I have has a null value and context.

I found the following code in TCFNodeExpression.Java which seems to attempt to deal with this, however after observing execution, it seems that Object returned by the getDebugContext() method is a TCFNodeExecContext, which does not implement IDebugElement or ILaunch, and as such the IExpression context remains null.

mage removed by sender. index.php/fa/27703/0/

Is there some other way for me to get an _expression_'s value without having to specifically invoke a TCFTask?


Thanks

mage removed by sender.

Attachment: image001.png
(Size: 12.56KB, Downloaded 1 time)

[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

 


Back to the top