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
How do I restart a Mainstack?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: How do I restart a Mainstack?
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
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?
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.
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
Re: How do I restart a Mainstack?
Thanks guys, I knew it would be something simple.
Richard
Richard