Hi,
Does it die with a crash, or just stop responding?
If it dies, you can narrow it down by bracketing it until you find the place that is causing its death.
If it just stops responding, my guess is that you might have an infinite loop, which would be hard to further diagnose without the movie itself.
- Tab
At 07:36 PM 12/22/03, Bruce Mitchener wrote:
Hello all!
Our project is very heavy with LDMs, so I decided to start getting rid of some of them that didn't need to be LDMs any longer due to other changes in the project.
With a fairly straight forward conversion, I was able to get a major bit of functionality out of an LDM and running at the root/main movie level. Well, almost run. It starts to run. It initializes. But after a couple of iterations on the frame in the score that houses the code/sprites, it suddenly stops running, along with Director as a whole. It is as if I went and hit the 'Stop' button. But I can assure that I did no such thing.
* There is a frame script that does the usual 'go to frame'. * If I add code that starts doing a trace/traceLogFile/traceLoad combination, then I can see that it basically is doing this: * Run and appear to work. * Get to where it runs the exit frame handlers. * Runs my exit frame handlers. * Runs my stopMovie handler. Nothing is calling that stopMovie handler in my code. If I put a breakpoint in, it is at the top of the call stack, which lends credence to my theory that Director is calling it and not my code. * I am not calling halt or quit in any code that is getting called. * The sprite that got the makeover from being an LDM to being not-an-LDM is a SW3D sprite if that matters at all. * Reverting the code to my old LDM-based stuff puts everything back into a working state.
And I thought that having a migraine last Thursday night through Saturday morning was bad. This is far worse!
Is there anyone out there that could please help? Even crackpot suggestions are welcome at this point as I've exhaused my crackpot ideas after running out of normal/sensible/reasonable ideas.
Cheers,
- Bruce
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/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!]
