Code: Select all
command debug tMessage
write "AETDebug:" & tMessage & return to stdout
write "AETDebug:" & tMessage & the long time & return to stdout
put "file:" & specialfolderpath("desktop") & ":" & "AETdebug.txt" into theFile;
put the long time & ": " & tMessage & return after URL theFile;
end debug
The Livecode documentation seems to say that writing to stdout sends the message to the console.
Console on Big Sur is radically different from what I remember seeing in past version of macOs - not really sure when it changed.
Anyway the above code has no problem writing to the text file, but nothing shows up in the console.
Does it work for anybody?
Is there something special that I have to turn on?
Apple seems to have made Console quite complicated from what I remember.
Thanks,
Andrew