[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [platform-debug-dev] Implementing IWatchExpressionDelegate
|
- From: Ralf Buschermoehle <lobequadrat@xxxxxxxxxxxxxx>
- Date: Mon, 26 Oct 2009 19:37:59 +0100
- Delivered-to: platform-debug-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=3+gal/vVjkONItH+QdGwDu+q0OJOY+SronmAVBXhdfc=; b=vbV6lj+TlvuyAkljmgj6YrO8/TFvPIGT+3vWKeOWTvJHsDKXKxn66DuMn+tpIEL7Ou dgNrrrUXLVTek7DvS388DPMpghpwFFYZdaWzYQiX/0cm595ymrL3PFbXB1CdkFthDCS7 y4xcZUyG4ETnK1HfGeVE7gH0YLfj+WHDUj9jY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=b8trEZgXMD9+IUDocaKCRFIId2ZpaRX0KBrmw0YSog/99u5DClCh6CXboX/yQv6Ar1 LSFXlPACLFTr0Z8CS9PsELT5LRzTS/GIOXTkrQ1rE3VAxpHtFi8yvKaPoF7wyYNAZmXn kaMcXBkXzJMbJY++/+TL18DCDfV4ZL4HuXgGM=
- User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
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