Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] Implementing IWatchExpressionDelegate

Hello,

I would like to use Watch Expressions in my Debug Platform project. Looking in the WatchExpressionDelegate I get

public void evaluateExpression(String expression, IDebugElement context, IWatchExpressionListener listener)

whereby expression is the Variable Name of the Variable Window and context is a StackFrame of the surrounding context.

My problem is that context has all Variables (of course according to it's name) of the surrounding Stack Frame. Since my variable names (of the variable view) are only unique on their first level e.g.,

uniqueID variable "A" -->(unfolding a "complex" variable)--> "B" ("living" inside of "A").

I am able to get the value of the expression on the first level (by traversing the Stackframe) - but not the value of variable B since B might occur multiple times in the Stackframe.

Is there a ("direct") way to get the value of "B"?

Greetings,

   Ralf


Back to the top