Message Tracer

Richard Gaskin ambassador at fourthworld.com
Fri Oct 29 12:28:26 EDT 2021


Bob Sneidar wrote:

 > Has anyone written something that will trace the flow of a command
 > or procedure and create some kind of rudimentary flow diagram? It
 > can be text based something like:
 >
 > 	stack "Main Form"
 > 		Openstack
 > 			setSubscriptions
 > 				 subGetMainData, getMainData
 > 				 subSetMainGrids, setMainGrids
 > 			broadcast subGetMainData
 > 			broadcast subSetMainGrids
 >
 > etc.

Yes. 4W Flight Recorder provides a display for logging messages and 
subsequent handler calls, indented for readability and with relative 
performance metrics.

Double-clicking a line in the display opens the script where that 
handler is defined, and the list can also be saved to a file.

Bonus: messages logged can be filtered, with preset filters for IDE and 
other tools.

You can download 4W Flight Recorder from within the Stacks section of 
LiveNet, or directly at this URL:
http://fourthworld.net/revnet/devolution/4W_FlightRecorder.livecode.gz

-- 
  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