Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Using/Evaluating Expressions (DebugPlatform)"HowTo/Example"?

Hi,

please find comments below ...

Ken Dyck wrote:
Ralf Buschermoehle wrote:
But what exactly refers the debugModel entry to?

Use the same string that the debug elements in your debugger (target,
threads, stack frames, etc.) return for getModelIdentifier().

The watch expression framework uses the string returned from
getModelIdentifier() of the selected debug element to look up the
appropriate IWatchExpressionDelegate to use to evaluate expressions in
the view. If there is no match, the view prints "(Watch expressions not
supported)".
Ok, now it works - thanks! :)

However, watch expressions are invoked by the platform whenever the active debug context changes (i.e. the selection in the debug view), and when the expressions view is visible. Each time the selection in the debug view changes, the expressions are re-evaluated.

This works fine - but how do I invoke a re-evaluation manually?

Greetings,

   Ralf


Back to the top