Kill a handler

Roger Eller roger.e.eller at sealedair.com
Sun Mar 30 11:11:06 EDT 2014


We don't want to kill the IDE, just stop the handler that is stuck in a
loop.  The kill command would still lose all unsaved work.

~Roger

Sent from my Android tablet
On Mar 30, 2014 10:00 AM, "Kevin Miller" <kevin at runrev.com> wrote:

> There is an alternative to command-. on Mac which will often, though not
> always rescue you when you¹re deep in handler stack you can¹t break out of.
>
> Get the process ID from Activity Monitor. Then run:
>
> kill -sighup processID
>
>
> E.g. if LC has PID 9382:
>
> kill -sighup 9382
>
>
> Kind regards,
>
> Kevin
>
> Kevin Miller ~ kevin at runrev.com ~ http://www.livecode.com/
> LiveCode: Everyone can code
>
>
>
>
> On 29/03/2014 21:24, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
> wrote:
>
> >Craig,
> >
> >When I do a simple test, like
> >
> >repeat forever
> >   put the seconds
> >end repeat
> >
> >it works, but when I am in the middle of a project, testing a handler
> >that gets caught up in an endless loop and forgot to save for a few
> >hours, it never works. I have no idea why it doesn't. There must be
> >going on with handlers that are more complicated or that require more
> >CPU power.
> >
> >--
> >Best regards,
> >
> >Mark Schonewille
> >
> >Economy-x-Talk Consulting and Software Engineering
> >Homepage: http://economy-x-talk.com
> >Twitter: http://twitter.com/xtalkprogrammer
> >KvK: 50277553
> >
> >Installer Maker for LiveCode:
> >http://qery.us/468
> >
> >Buy my new book "Programming LiveCode for the Real Beginner"
> >http://qery.us/3fi
> >
> >LiveCode on Facebook:
> >https://www.facebook.com/groups/runrev/
> >
> >On 3/29/2014 16:53, dunbarx at aol.com wrote:
> >> Mark.
> >>
> >>
> >> I do this all the time. Somehow I never seem to get my gadgets running
> >>perfectly the first time. Not sure why this is.
> >>
> >>
> >> But I never have a problem with cmd-period. What happens to you?
> >>
> >>
> >> Craig
> >>
> >
> >_______________________________________________
> >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
>
>
>
> _______________________________________________
> 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