Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUGS: collection it can be behaved in unforeseeable way
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
BUGS: collection it can be behaved in unforeseeable way
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018216
Message ID:
01018216
Views:
41
Within a very Complex program, i have this Collection bugs,
they happen with a pseudo random frequency,
but if the program do the same cycle,
the occurrences are deterministic.
myCollection.GetKey() return .T.
myCollection.Item(existskey) return .T.
myCollection(existskey) return .T.
? myCollection.Remove(-1),myCollection.Count && output is .T.,104 ( or others not zero values )
I have found a workaround:
retry the operation another time
but i'm not sure that this is a sure workaround.

Result: Collection is not usable.

I try to reduce the application for a simple repro code;
a simple random test is not sufficient for a reproduction of the bugs.

Fabio
Next
Reply
Map
View

Click here to load this message in the networking platform