Fwd: Console output

2014-03-01 Thread Pierre Sahores
Sorry for the typo. Should be correct below :

on log pMsg
local tMsg
put pMsg into tMsg
answer tMsg
end log

Début du message réexpédié :

 De: J. Landman Gay jac...@hyperactivesw.com
 Objet: Console output
 Date: 1 mars 2014 21:45:48 UTC+1
 À: LiveCode Mailing List use-livecode@lists.runrev.com
 Répondre à: How to use LiveCode use-livecode@lists.runrev.com
 
 I'm trying to debug a standalone by using put statements:
 
 on log pMsg
  put pMsg
 end log
 
 In Console (OS X Mavericks) I never see any of the messages. The only thing 
 it lists is this, on every startup of the app:
 
 Class TSSandboxPrefs is implemented in both 
 /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and 
 /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac 
 WMV Advanced. One of the two will be used. Which one is undefined.
 
 I don't know what that means exactly, but it doesn't seem related to my 
 debugging efforts. Does anyone know if something changed with a basic put 
 statement now? Or is there somewhere else I need to look in Console? I have 
 All messages selected, with my app's name as the filter.
 
 This used to work.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.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

--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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


Re: Fwd: Console output

2014-03-01 Thread J. Landman Gay
Thanks Pierre. I think I found the answer on Stack Overflow: Mavericks 
no longer routes stdout to Console automatically. There's no way to get 
it there unless apps are specifically written to do it.


http://stackoverflow.com/questions/13104588/how-to-get-stdout-into-console-app

I changed my logging so it writes to a file and that works. But it would 
be nice if we could still use Console, that was easier. I can't 
understand why Apple removed that functionality.



On 3/1/14, 3:58 PM, Pierre Sahores wrote:

Sorry for the typo. Should be correct below :

on log pMsg
local tMsg
put pMsg into tMsg
answer tMsg
end log

Début du message réexpédié :


De: J. Landman Gay jac...@hyperactivesw.com
Objet: Console output
Date: 1 mars 2014 21:45:48 UTC+1
À: LiveCode Mailing List use-livecode@lists.runrev.com
Répondre à: How to use LiveCode use-livecode@lists.runrev.com

I'm trying to debug a standalone by using put statements:

on log pMsg
  put pMsg
end log

In Console (OS X Mavericks) I never see any of the messages. The only thing it 
lists is this, on every startup of the app:

Class TSSandboxPrefs is implemented in both 
/Library/Frameworks/TSLicense.framework/Versions/A/TSLicense and 
/Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV 
Advanced. One of the two will be used. Which one is undefined.

I don't know what that means exactly, but it doesn't seem related to my debugging efforts. Does 
anyone know if something changed with a basic put statement now? Or is there somewhere 
else I need to look in Console? I have All messages selected, with my app's name as the 
filter.

This used to work.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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


--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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




--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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