Is the debugging experience going to be improved ? Its hard to get any value at the moment. I’m trying to debug an issue in some UI logic and I have to resort to adding code to get counts of the number of items in my collections.
Take this code for example
namespace CollectionConsoleApplication;
uses
RemObjects.Elements.Linq,
Foundation;
type
Employee = public class
public
property Id:Integer;
property Name:NSString;
end;
Program = public static class
public
method Main(aArguments: array of String): Int32;
begin
writeLn('The magic happens here.');
var employees := new NSMutableArray<Employee>;
employees.addObject(new Employee(Id:=1, Name:='Bill'));
employees.addObject(new Employee(Id:=2, Name:='Miles'));
employees.addObject(new Employee(Id:=3, Name:='Frank'));
employees.addObject(new Employee(Id:=4, Name:='Bob'));
var less := employees.Where(e -> (e.Id = 1) or (e.Id = 2));
if(less.Count > 0)then
begin
end;
end;
end;
end.
The NSMutableArray doesnt really give me anything and for the result of the where I just this moment realized that I needed to step past the if statement to find out the values which are hidden away in @Data.
In both cases I would like to see the contents of each item and the count.
For the later why does it have to be so obfuscated?
Thanks,
John