Here is an interesting one..
I have an exec that generates random numbers (for the lottery). It has an option to get numbers for up to 4 lines (5 main numbers and 2 lucky star numbers). When I step through this it all works fine - each set of numbers is different - but when I take the trace off all the lines are identical. I was pulling my hair (what is left of it) out trying to determine why. Eventually I just added a "Pull ." after each line and I started to get unique lines. My conclusion is taht the CPU is too fast for the random function but could anyone elucidate? My first call to the Random function specifies a seed of TIME(S) just so that I do not get the same numbers each week. Subsequent calls do not use a seed.