[iOS] possible console bug

Andre Garzia andre at andregarzia.com
Mon Jul 12 10:37:31 EDT 2021


Mark,

That’s the problem, I’m looking at the system log on the iOS Simulator and there is no output for put without a target.

Om om
A

> On 12 Jul 2021, at 15:14, Mark Waddingham via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> On 2021-07-12 15:01, Andre Garzia via use-livecode wrote:
>> but it is supposed to work, right? Did this changed in some version?
> 
> Apple stopped piping stdout/stderr to 'console' a few years ago I think - both on Desktop, and when looking at the device console for iOS.
> 
> In version 9.0 though we changed the behavior of `put` without a target. e.g.
> 
>   put "foo"
> 
> In the IDE this will output to the message box.
> 
> In -ui mode, this will write to stderr.
> 
> Otherwise (which will be the case on iOS / Android!) this will output to the system log
>   - using NSLog on Desktop/iOS
>   - using android.Log class on Android
>   - using OutpuDebugString on Win32
>   - using syslog on Linux
>   - using JS console on html5
> 
> Warmest Regards,
> 
> Mark.
> 
> -- 
> Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
> 
> _______________________________________________
> 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