Re: Re: Subtile bug in script parsing ?

"Dimitris Keletsekis [email protected] [gui4cli]" <[email protected]> Thu, 12 Jun 2014 14:31:05 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1Xq36P3RNcm-8QTNbewJ2XB6kQ1=hVdntoi-7FapSMAAQ@mail.gmail.com>
Hi Chris,

I've gazed at the code with a dumb expression for many hours and found
nothing wrong. That's to be expected since the code works correctly
"almost" always.

The fact that it messes up on rare occasions probably means that its a
series of things that if done in a particular order sometimes build up to
something unexpected. Its the worst kind of bug and very hard to find.

Maybe I'll get lucky one of these days :)

Dimitris




On Thu, Jun 12, 2014 at 8:53 AM, [email protected] [gui4cli] <
[email protected]> wrote:

>
>
> Hi Dimitris,
>
> I went on with my script launching it from the desktop shortcut, then after
> some additions I tried the normal launch again and it didn't stop anymore
> on the attr font line.
>
> I then compared the scripts from before and after the additions and it
> appeared that I added new things "before" the attr font line so it was
> shifted
> to a new position in the script.
>
> So now I think it isn't the attr font line itself that caused the issue
> but the
> "unhappy" position it had in the script. That would declare why g4c stops
> at any arbitrary event (xRoutines, loops etc.) everytime there are
> additions
> or modifications to the script.
>
> That's also why I still think it's purely a parsing issue when scripts are
> loaded.
> Still a mystery why it's rare in WXP and persistent in Win7 ?
>
> Chris
>  
>