Re: Rob: Bug in PD Eu v2.5 found
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Nov 18, 2005
- 462 views
Robert Craig wrote: > > Al Getz wrote: > > I ran into a bug while testing a program under PDEU 2.5 today. > > The bug occurs while in the trace screen, and the main issue is > > that trace lines get repeated. <snip> > There was a somewhat similar "long-line" trace bug in 2.5 alpha. > It was fixed several months ago. I hope you aren't still using 2.5 alpha > or beta. The old 2.4 trace expected lines to be fairly short, but in > 2.5 the front-end no longer enforces any limit, so this caused a problem > which was fixed, I think in the beta, but definitely in the official > release. I can confirm this bug (2.5 official). Try this code:
with trace function foo() integer x x = 1 + 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1+ 1 x = 1 x = 2 x = 3 x = 4 return 1 end function trace(1) ?foo()
Matt Lewis