not really OT: The Coming Software Apocalypse

Richard Gaskin ambassador at fourthworld.com
Tue Oct 3 20:27:31 EDT 2017


Alejandro Tejada wrote:

 > Richard Gaskin wrote:
 >> I've found logging useful.  Turn on the messageMessages
 >> and write all messageHandled messages to a file with the
 >> executionContexts - verbose, but when information is lacking
 >> better to have too much than too little.
 >
 > Great to know! Thanks for this information.
 > Where could I find more details about messageHandled
 > and messageMessage? Google found nothing
 > about these LiveCode messages.

They're still undocumented, designed for IDE use and subject to change.

The messageMessages is a global property which governs whether 
messageHandled and messageNotHandled messages are sent.  False by 
default, setting it to true causes the engine to send those messages.

A messageHandled message is sent when any message is handled. Check its 
params to see what comes with it - not much, but enough to trigger logging.

I've never used messageNotHandled, but presumably it's sent when a 
message is fired and nothing in the message path handles it.

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list