On Apr 19, 2020, at 10:34 AM, Graham Samuel via use-livecode 
<use-livecode@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@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