[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-debug-dev] Implementing IWatchExpressionDelegate
|
Hi Darin,
Darin Wright wrote:
It's up to your watch expression delegate/debugger to evaluate the
expression in any given context. Perhaps it binds to a variable in a
given stack frame context, perhaps not. That's up to your
debugger/language to decide. The platform has no knowledge on how to
compile expressions generically.For example, the Java debugger compiles each expression in the context of
the given stack frame. This may result in compilation errors (if the
referenced variables are not visible), or in a valid AST that can be
interpreted.
Ok, I understand the point. Can I somehow influence the passed
expression? I used ...
<extension point="org.eclipse.debug.core.watchExpressionDelegates">
<watchExpressionDelegate
debugModel="RMOF.debugModel"
delegateClass="debug.model.WatchExpressionDelegate"/>
</extension>
as extension point and select Variables (to watch) from the Variable View.
Greetings,
Ralf