What makes everything on a card unresponsive?

Graham Samuel livfoss at mac.com
Mon Apr 20 17:01:45 EDT 2020

Thanks Mark - I am very glad you reminded me of the way puts go into the console window. I knew about that once (two or three  years ago, when I last tried to do a mobile app) and just forgot about it. I have kind of emerged, blinking, into the light after being in the dark for a long time.

I also do the trick of having a “debug” scrolling field on the most frequently seen card, and I have a tiny handler which accepts text and puts it into the next line of the field. When the app goes live, I can remove all the calls to the handler or simply arrange for the handler to have nothing in its script - the speed hit on the kind of app I’m interested is negligible, I find. And I also use ‘answe'r in an emergency, tho of course it disrupts the flow of the app.

I think the remote debugger doesn’t work with Indy, but i’ll check.

By the way I traced down the actual problem I had when I wrote my original mail in this conversation, using the methods you mention. It seems to be something to do with a widget that’s supposed to provide a native-appearance switch. I have isolated it and can continue to work in other ways for a time.

Thanks very much for the input.


> On 20 Apr 2020, at 20:25, Mark Talluto via use-livecode <use-livecode at lists.runrev.com> wrote:
> On Apr 19, 2020, at 10:34 AM, Graham Samuel via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Any ideas welcome, including a debugging strategy.
> I use:
> --quick a dirty value check
> answer “VariableName:” && tVariable
> —did my code get this far
> answer “Handler name, label that may provide extra context”
> —breakpoints
> Sometimes the remote debugger works and sometimes it doesn’t. When it does, you breakpoint will fire in your app and show up in the LC IDE
> —console
> You can open the console app on your Mac. On the left side of the console, you will see your plugged in device. Click on that.
> Any empty puts like:  put “My code got this far”
> These will output to your console.
> —debug field
> I put a field called “debug” on a card I am working on. I can output what I want to that field when I want to check the state of things.
> These are some tools I use to work on mobile. 
> Best regards,
> Mark Talluto
> livecloud.io <http://livecloud.io/>
> nursenotes.net <http://nursenotes.net/>
> canelasoftware.com <http://www.canelasoftware.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