tracking down freeze based on timing, maybe?

J. Landman Gay jacque at hyperactivesw.com
Sun Dec 13 14:38:05 EST 2015


On 12/13/2015 11:23 AM, Matt Maier wrote:
> Any suggestions for tracking down what's causing the freeze? It's not
> happening inside of the handlers I wrote. Instead it's happening after all
> of my handlers are finished, and then only if I click the button as fast as
> possible instead of slowly down-up.

In general I've noticed freezes are due to infinite loops or message 
pileups. Try putting a flushEvents("mouseUp") or flushEvents("all") at 
the end of the sequence to remove extraneous clicks and see if that 
prevents the problem.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list