Whenever I examine a foundset in the debugger (as a ‘watch’ expression), the number of records shown is one less than the maximum size of the foundset, and it appears that it is always the last record of the foundset that is missing. So, if you have a one record foundset, you cannot view the record contents in the debugger (i.e. ‘record_1 = Record’ is not displayed in the foundset tree structure). Has anyone else noticed this behavior?
Servoy version 6, beta 2, works the same way as well.
that is a safeguard that works a bit to well.
We do give you 1 less then the total size because that last record could trigger the load of the next batch of 200…
And a debugger shouldn’t trigger that.
I improved it a bit for 6 so that it only does -1 if there are more rows to get, so if there is only 1 (or 97) row(s) then it will display all of them now.