05-17-2011 06:58 AM
Hi,
I just ran by this thread. As almost a year passed since this was published I was wondering if TS 2010 version has any kind of .NET Object viewing.
Even simple things like viewing List<string> Objects returned by a .NET function would be helpfull.
05-17-2011 10:00 AM
Individual string values will show up if you store a reference to a .NET string in an object reference variable, but for a List<String> it will only show the typename (i.e. List<String>). One thing you could do is create a new class derived from List<String> that overrides ToString() (it's a virtual method) and returns a string showing all of the values, then they will be displayed in the TestStand variables view. Or you could just debug into a code module which returns or takes this list and look at it in visual studio.
Hope this helps,
-Doug
05-18-2011 01:09 AM
Ok, thanks. I am using an existing .NET library, I will need to build a wrapper around it.
Thanks,
Orly