What's Going On In The IDE

Ralph DiMola rdimola at evergreeninfo.net
Fri Jul 10 21:30:44 EDT 2020


Thanks Mark. It did not help me though. How can you break a loop the IDE?

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net

-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Mark Wieder via use-livecode
Sent: Friday, July 10, 2020 4:03 PM
To: Ralph DiMola via use-livecode
Cc: Mark Wieder
Subject: Re: What's Going On In The IDE

On 7/6/20 9:22 AM, Mark Wieder wrote:
> On 7/3/20 10:13 AM, Ralph DiMola via use-livecode wrote:
> 
> 
> This card renders sub second but is unresponsive for an additional 14 
> seconds. What's going on here? The IDE stacks totals out to 13 seconds.

Not quite the same symptoms but similar: I just experienced a hang in the
SE. Narrowed it down to a repeat loop in the behavior script. I'll submit a
PR for this, but in the meantime, at line 2060 in handler
autoCompleteIFsAreBalanced

    repeat
       put offset(tBeginAsterix, pScript) into tCharBegin
       if tCharBegin is 0 then exit repeat
       put offset(tEndAsterix, pScript) into tCharEnd
       delete char tCharBegin to tCharEnd of pScript
    end repeat

change that to

    repeat
       put offset(tBeginAsterix, pScript) into tCharBegin
       if tCharBegin is 0 then exit repeat
       put offset(tEndAsterix, pScript) into tCharEnd
       if tCharEnd is 0 then
          exit repeat -- stay out of trouble
       end if
       delete char tCharBegin to tCharEnd of pScript
    end repeat

--
  Mark Wieder
  ahsoftware at gmail.com

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list