Re: [iOS] possible console bug

2021-07-28 Thread Mark Smith via use-livecode
Tested with Catalina / LC9.6.2 / Simulator. Works as Panos described although with this setup I did not see a Start button, and I never clicked on anything. I did see the “put” messages from my app go to the Console. PS filter as Panos suggests works great to filter just the messages from your a

Re: [iOS] possible console bug

2021-07-28 Thread matthias rebbe via use-livecode
I tested here with Big Sur/LC9.6.3 RC2 and Simulator. I can confirm that doing it like Panos described will show the put output. But you have to press the "Start" icon at the top in Console app before the put output is captured by the Console app. So if you did the output in the app before you

Re: [iOS] possible console bug

2021-07-28 Thread panagiotis m via use-livecode
In fact a neater way to do that, instead of force-quitting Console app and reopening it, is to click on the system.log window to give the focus to the Console app, and then in Console's top menubar click Window-> Console This will open the Console window where it is possible to choose the connecte

Re: [iOS] possible console bug

2021-07-28 Thread panagiotis m via use-livecode
Hello Andre, I am good, thanks for asking. I hope you are well too :) I just tested on Big Sur. I had to do an extra step: When you see the "system.log" window, the one where there is no option to choose "iPhone 8" at the left, force quit the Console app. Then reopen the Console app directly, i.

Re: [iOS] possible console bug

2021-07-28 Thread Andre Garzia via use-livecode
Hi Panos, Hope all is well with you my friend, thanks a lot for the speedy reply. I think things might have changed in Big Sur because I see a different console app. Mine doesn’t have a way to switch to this “iPhone 8” label. Below is a screenshot from my console app: https://andregarzia.com/f

Re: [iOS] possible console bug

2021-07-28 Thread panagiotis m via use-livecode
Hello Andre, It works as expected for me. MacOS Mojave Xcode 11.3 iOS 13.3 Simulator In the simulator go to Debug -> Open System Log This opens the Console app In the Console window, in the left hand side, you should see the name of the simulator (e.g. "iPhone 8"). Click on it. There will be a l

Re: [iOS] possible console bug

2021-07-28 Thread Andre Garzia via use-livecode
I’m just bumping this thread because I haven’t been able to see any log information when using the Simulator. Can more people confirm this? Is this a bug, and if so who owns that bug LC or Apple? It becomes really hard to debug a mobile application when you can’t see logs on the Simulator. I

Re: [iOS] possible console bug

2021-07-12 Thread matthias rebbe via use-livecode
Andre, tested now with LC 9.6.3 and Xcode 12.4, as i am still on Catalina. Took me some time to download Xcode. i tried here with 2 different physical devices (iPhone 7 iOS 14.4 and iPhone 12 iOS 14.6) and was able to see the output in the Console log pressing the 'open console' button in Xco

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
> On 12 Jul 2021, at 16:02, Mark Waddingham via use-livecode > wrote: > > If you run the app on a real iOS device, do you see your log messages in the > device log for it? Could it be Apple are now funneling simulator logs into a > pane in Xcode - like they do for devices, rather than have t

Re: [iOS] possible console bug

2021-07-12 Thread matthias rebbe via use-livecode
The Simulator from Xcode 12.1 still shows the menu entry 'Show System Log..." under the Debug menu. That entry opens the "normal" system log. > Am 12.07.2021 um 17:02 schrieb Mark Waddingham via use-livecode > : > > On 2021-07-12 15:37, Andre Garzia via use-livecode wrote: >> Mark, >> That’s

Re: [iOS] possible console bug

2021-07-12 Thread Mark Waddingham via use-livecode
On 2021-07-12 15:37, Andre Garzia via use-livecode wrote: 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. Heh sorry - I didn't actually read the code you posted in your original post :D I believe this should work

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
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 > wrote: > > On 2021-07-12 15:01, Andre Garzia via use-livecode wrote: >> but it is supposed to w

Re: [iOS] possible console bug

2021-07-12 Thread Mark Waddingham via use-livecode
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 c

Re: [iOS] possible console bug

2021-07-12 Thread Jimmieson, Phil via use-livecode
I think it changed at some point and you’re now supposed to use write to stdout though I just tried that and couldn’t get it to produce any output in the console. On 12 Jul 2021, at 15:01, Andre Garzia via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: but it is supposed to

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
but it is supposed to work, right? Did this changed in some version? > On 12 Jul 2021, at 14:45, matthias rebbe via use-livecode > wrote: > > I tried here with LC9.6.2 under Catalina. It doesn't work either. > > >> Am 12.07.2021 um 14:49 schrieb Andre Garzia via use-livecode >> : >> >> Hi

Re: [iOS] possible console bug

2021-07-12 Thread matthias rebbe via use-livecode
I tried here with LC9.6.2 under Catalina. It doesn't work either. > Am 12.07.2021 um 14:49 schrieb Andre Garzia via use-livecode > : > > Hi Friends, > > I’m writing here before I fill up a bug report because I don’t know if I’m > doing things correctly. > > From what I remember, if we did

Re: [iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
Besides that original problem, I have another one which is that calls to “do … in widget ‘browser’” are not working on iOS Simulator but work fine on the Desktop and Android. The code has no branching for each system, it is the exact same code in all platforms. There is no error, it simply doesn

[iOS] possible console bug

2021-07-12 Thread Andre Garzia via use-livecode
Hi Friends, I’m writing here before I fill up a bug report because I don’t know if I’m doing things correctly. From what I remember, if we did a “put” to stdout, it would appear in the system log on iOS Simulator. Is that still the case? I have an empty stack here with a button with the follo