XIDE: Add variables to Watch

This forum is meant for questions and discussions about the X# language and tools
Post Reply
User avatar
Irwin
Posts: 165
Joined: Wed Mar 23, 2022 10:24 am
Location: España

XIDE: Add variables to Watch

Post by Irwin »

Hi Chris,

When you add a variable to Watch, you immediately see its value and type. However, if this variable is contained in an iterator like For, ForEach, etc., then the Watch panel doesn't refresh the variable value in the next iteration.

For example, add loPerson:Age to Watch:

Code: Select all

foreach loPerson as Person in loPeople
    switch loPerson:Age
        ...
    endswitch
next
You will see its value and type, but if you move to the next person, the Watch panel shows <Unavailable>. You have to delete it and add it again, which is quite annoying.

thanks.
User avatar
Chris
Posts: 5471
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Re: XIDE: Add variables to Watch

Post by Chris »

Hi Irwin,

Thanks, I see the problem and I think I know how to fix this. Will send you an updated version soon
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply