Re: Rob: Bug in PD Eu v2.5 found

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> 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:
> }}}
<eucode>
> 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()
> </eucode>
{{{

> 
> Matt Lewis

Hey thanks Matt, i just confirmed i was using the official release
rather than the beta too.  I named my .exe's different to avoid
that possible problem, but checked anyway.


Take care,
Al

And, good luck with your Euphoria programming!

My bumper sticker: "I brake for LED's"

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu