Page 1 of 1

Message Watcher wiped?

Posted: Thu Jul 04, 2013 8:06 am
by SteveTX
I am trying to watch the messages when opening my stack so i can debug a message path issue. I open the livecode file, I can see openStack and others populate the message watcher, but then the Message Watcher window gets focus, clears its content, and then proceeds to populate it with later messagepath, leaving me with a setprop of a graphic as my very fist item in the message watcher.

What is causing the wipe of my message watcher data?
How do I prevent the message watcher window from getting wiped?

Re: Message Watcher wiped?

Posted: Thu Jul 04, 2013 2:30 pm
by FourthWorld
I can't offer any useful suggestions for the Message Watcher because I don't use it; too limited for my needs. So I wrote a tool called "Flight Recorder" which not only logs messages to a list, but does so indented so you can more clearly see the calling chain. Additionally, it also provides estimated elapsed time for each handler so you can spot bottlenecks.

You can download it in the Stacks section of RevNet (in LC see Development->Plugins->GoRevNet), or directly here:

http://fourthworld.net/revnet/devolutio ... der.rev.gz

Re: Message Watcher wiped?

Posted: Thu Jul 04, 2013 3:26 pm
by snm
Hi Richard,

"Stacks" button works, but when you choose "Tips" button, there is info pop-up: "Could not retrieve index". Choosing any category doesn't show any Topic content.

Marek

Re: Message Watcher wiped?

Posted: Thu Jul 04, 2013 4:30 pm
by FourthWorld
Thanks for the report, Marek. I'm working on RevNet this morning and will address that, but in the meantime use the direct link I provided in the post above.

Re: Message Watcher wiped?

Posted: Thu Jul 04, 2013 5:28 pm
by snm
This file has the same behaviour as from LC.

Marek

Re: Message Watcher wiped?

Posted: Thu Jul 04, 2013 5:44 pm
by FourthWorld
I don't understand, since the Flight Recorder tool has no "Tips" button, and doesn't download any index. Are you sure you weren't somehow trying to open RevNet again?

The link I provided above works well in LC 6.1 here after first unzipping the download and then just opening it in LC.

Re: Message Watcher wiped?

Posted: Thu Jul 04, 2013 6:05 pm
by snm
Sorry Richard, it's hot and late.
Yes, I mentioned about RevNet.

Marek