At 4:20 PM -0800 2/8/2001, Irv Kalb wrote:

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


Hey thanks. I found also that using hardcoded sprite numbers to 
reference the property works. That's better in this particular 
situation compared to breakpoints since I am needing to check props 
based on the mouse state.

lather, rinse, debug. .


/r
-- 

     Roy Pardi
--------------------------------------------------------------------
Multimedia Developer   +  Lingo Programming Consultant
                                 [EMAIL PROTECTED]
--------------------------------------------------------------------



[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