On Sat, Feb 27, 2016 at 2:48 PM, jameshale <ja...@thehales.id.au> wrote:
>
> As an aside when reading the dictionary on lockscreen it states that its
> setting has no effect in the IDE with script debug enabled.
> I have script debug mode enabled.
> I am also doing all this testing in the IDE.
> If lockscreen has no effect in the IDE under these circumstances then why
> does setting the lockscreen to false allow things to work?
>
> Curious, no?
>
I think what that means to say is that you are not in Debug Mode until
you actually hit a breakpoint and you step through your code, stepping
onto lock screen will have no effect. It's pretty easy to test:

Run once then comment out the breakpoint and run again.

New stack, 1 button, 1 field. In the btn:

on mouseUp
   put empty into x
   repeat with x = 1 to 500
      put x into fld 1
   end repeat

   put empty into fld 1
   wait 1 sec
   --breakpoint
   lock screen
   repeat with x = 1 to 5000 --yes 5000*
      put x into fld 1
   end repeat
end mouseUp

* Just to demonstrate how unlocking the screen slows things down... A LOT.

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

Reply via email to