Capturing Messages in Realtime
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Capturing Messages in Realtime
Is there any way to Capture Messages in Realtime?
Right Click on a DataGrid and you'll see a Send Message
option with about 100 possible Messages. I'm having
trouble figuring out which Messages fire when.
Is there was some way to watch the Messages being
fired in Realtime. Then I would know which Messages
happen when. Maybe I'm missing something simple here.
What's the best way to discern Message firing order?
Right Click on a DataGrid and you'll see a Send Message
option with about 100 possible Messages. I'm having
trouble figuring out which Messages fire when.
Is there was some way to watch the Messages being
fired in Realtime. Then I would know which Messages
happen when. Maybe I'm missing something simple here.
What's the best way to discern Message firing order?
-
- VIP Livecode Opensource Backer
- Posts: 3581
- Joined: Mon Jan 22, 2007 7:36 am
- Location: Berkeley, CA, US
- Contact:
Re: Capturing Messages in Realtime
Launch the messagewatcher stack from the Development menu.
-
- VIP Livecode Opensource Backer
- Posts: 1236
- Joined: Sat Apr 08, 2006 1:10 pm
- Location: Zurich
- Contact:
Re: Capturing Messages in Realtime
watch out with the message watcher. the IDe can sometimes fire dozens of messages per milliseconds, at which point you either force quit or wait lots of minutes for all those messages to be handled and shown in the message watcher.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Capturing Messages in Realtime
You may find my Flight Recorder handy - it logs messages similarly to LiveCode's Message Watcher, but allows you to define message to exclude (like mouseMove which is sent far too frequently to be worth logging), has defaults for reasonable filtering already set, and indents the output so you can more readily see the calling chain,
4W Flight Recorder is available in the Stacks section of RevNet -- in LiveCode, see Development->Plugins-<GoRevNet
4W Flight Recorder is available in the Stacks section of RevNet -- in LiveCode, see Development->Plugins-<GoRevNet
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 430
- Joined: Sun Feb 13, 2011 8:43 pm
- Location: Seattle, USA
Re: Capturing Messages in Realtime
Thanks guys-- The Message Watcher can now Suppress messages as well--
BUT it automatically clears the list-- constantly, which makes it near useless.
For instance, just keep an eye on the time stamp of the first Message.
The 4W_Flight_Recorder is MUCH better. I especially like the way it
displays the hierarchy of the Messages. They should just swap out the
code from the built in Message Watcher with the Flight Recorder code.
What's that MS column about?
BUT it automatically clears the list-- constantly, which makes it near useless.
For instance, just keep an eye on the time stamp of the first Message.
The 4W_Flight_Recorder is MUCH better. I especially like the way it
displays the hierarchy of the Messages. They should just swap out the
code from the built in Message Watcher with the Flight Recorder code.
What's that MS column about?
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Capturing Messages in Realtime
Milliseconds. Because of the overhead of the tool itself those times are approximate, but can be useful for finding bottlenecks in code.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn