xsharp.eu • Moving an Item from LOCALs window to Watch window fails
Page 1 of 1

Moving an Item from LOCALs window to Watch window fails

Posted: Sat Jun 16, 2018 7:51 pm
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

Moving an Item from LOCALs window to Watch window fails

Posted: Sun Jun 17, 2018 11:21 am
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

Moving an Item from LOCALs window to Watch window fails

Posted: Sun Jun 17, 2018 1:28 pm
by AlwynJB
Hi Robert,

Thanks for explanation. We will all await with interest!

Alwyn