Page 1 of 1

How do I restart a Mainstack?

Posted: Mon Jan 25, 2010 12:58 pm
by RichardN
Hi all, I'm new to this language (although not programming) so please excuse what is probably a really dumb question (and please excuse me if I use the wrong terminology)...

I'm using Rev Media and cannot see how, short of closing the whole stack and loading it again, I restart the main stack so that I can check my PreOpenStack routines. I can do this with a sub stack easily enough but cannot seem to find how to do it with the main stack. When I set a breakpoint on the pre open code it never seems to get to it even when I reload the stack.

Like I say, it's probably very simple but some help would be appreciated.

Richard

Re: How do I restart a Mainstack?

Posted: Mon Jan 25, 2010 1:43 pm
by bn
Hi Richard,
welcme to the forum.

In the Development Menu you have the option to Suppress Messages. Check that. Your Main Stack and your substacks are open. Type into the Message Box
go stack "nameOfYourMainsSTack".
Alternatively you have your Stack/Substacks closed. Check Suppress Messages and start your Main Stack.
This should do the trick.
Or again with the Suppress Messages checked and your stack/substack open go to the application browser and double click your main stack.

If you want to see the sequence of messages sent you can turn on the message watcher.

regards
Bernd

Re: How do I restart a Mainstack?

Posted: Mon Jan 25, 2010 3:01 pm
by BvG
you can also issue "fake" messages via the message box (the third button of the iconbar at the top opens it). So with your main stack the topmost, you just enter "preopenstack" in the message box and hit enter.

Re: How do I restart a Mainstack?

Posted: Mon Jan 25, 2010 7:57 pm
by RichardN
Thanks guys, I knew it would be something simple.

Richard