At 6:44 PM -0500 2/8/01, Roy Pardi wrote:
>help Irv. . .! ;-)
>
>
>how do you watch the property of a behavior (without making it a global)?
>--
>

Hey Roy,

The cavalry to the rescue ...

You add the property to the watcher, but its value only is valid when 
it is "in scope".  So, the trick is that you have to set a breakpoint 
somewhere in the handler that you think is causing the problem (or 
one in each handler in the behavior) and look at the watcher window 
when you hit the breakpoint.

Other than that, for debugging only, do your trick - every time you 
set the property, also copy the value into a global and put the 
global in the watcher.

Irv
-- 
Lingo / Director / Shockwave development for all occasions.

        (Over two millions lines of Lingo code served!)

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to