script works only during debugging

Bob Sneidar bobs at
Thu May 10 11:51:57 EDT 2012

Try wrapping all your handler code in a try/catch construct and putting a breakpoint in the catch section. See what happens. 


On May 9, 2012, at 7:33 PM, Nicolas Cueto wrote:

> Hello All,
> A script that processes some text data and then sets a card's
> custom-property to that data has inconsistent results.
> In the debugger window it works fine. I put a breakpoint in the
> script, run it, and when the script pauses, I click "Continue" and,
> when the script exits, the custom-property has been set to the text
> data.
> But when I remove the breakpoint and run the script normally (i.e.,
> not in the debugger window), the card's custom-property is empty.
> I've been trying for hours now to trace this, including putting "wait"
> and "send", but am stumped.
> Thanks.
> --
> Nicolas Cueto
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the Use-livecode mailing list