Moving an Item from LOCALs window to Watch window fails

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
AlwynJB
Posts: 31
Joined: Tue Jan 17, 2017 2:25 pm

Moving an Item from LOCALs window to Watch window fails

Post by AlwynJB »

Hi.
I found that a LOGIC field in a Window class could not be moved to a Watch window. The result was that
"lFilter" changed to "SELF:lFilter" in the Watch Window which, unsurprisingly, caused a CS error rather than showing its value.

I can wait for an update.

Alwyn
User avatar
robert
Posts: 4279
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Moving an Item from LOCALs window to Watch window fails

Post by robert »

Alwyn,
To add support for the watch window we will have to add a so called Debugger Expression Evaluator to Visual Studio. Translating this -> SELF in the locals window and translating Boolean -> LOGIC is quite easy. The expression evaluator is much more complex because it needs to understand the language completely. And people will expect that it is case insensitive like VO is.
We will probably add a poor mans expression evaluator in one of the next builds that will translate SELF to this and will translate colons to dots, but anything more complicated than that will have to wait until the runtime is finished. Then we will also add windows for Globals, Publics and Privates, Workareas and Settings.
Yes there is still a lot to do !

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
AlwynJB
Posts: 31
Joined: Tue Jan 17, 2017 2:25 pm

Moving an Item from LOCALs window to Watch window fails

Post by AlwynJB »

Hi Robert,

Thanks for explanation. We will all await with interest!

Alwyn
Post Reply