[V4MD] Director MX 10.1 crashes after debugging a Lingo error on MACOSX

Martin Kloss martin.kloss at gmx.de
Wed Nov 24 14:05:18 CST 2004


At 13:49 24.11.2004, you wrote:
>I added the put statement.
>If an error occurs and I click at CANCEL or SCRIPT the stopMovie rountine 
>is called. If I click at DEBUG the stopMovie rountine never is called.

No, when you click DEBUG the stopMovie event does not happen, because
the movie is still running, but with the debugger open, which is the purpose
of the debug button ;-)
Only when you then stop the movie, the stopMovie event will be sent.

>Is there any chance to run the stopMovie by hand?

Sure, it's a normal movie handler that you can call anytime from anywhere.

I alway have a global cleanUp() handler that does the object garbage 
colleciton,
clean up calls etc. The cleanUp() is one of the few only global functions I 
use,
another is the init() function. In the event handlers like startMovie or 
stopMovie
I decide, based on various conditions whether to call these handlers or not.
That way I can start a cleanUp call without having to actually stop the movie
or call the stopMovie event.

Martin.


Martin Kloss

Skype me 24/7: callto://martinkloss

Like the author? Buy the book:
http://www.amazon.de/exec/obidos/ASIN/3934358322/lingmmugd

Need music? http://www.selling-sound.com

Get your daily dose of Lingo: http://www.lingopark.de




More information about the Valentina mailing list