-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StackOverflow exception #24
Comments
Uh. Hi there. It's been a few years since I've had a look at this repo, but I think your problem lies with the stack-function of the machine.
The stack-function means that you may 'take a step back' after a series of inputs. So you have several options here.
let me know if that made sense, |
Thanks Gerald for your quick reply, that is really awesome of you to help me out. I was using the EnableStack and ClearStack and doing a clear for each time around a loop of about 8 substates. I was using a thread sleep and and then calling a trigger in each entry function. Somehow I think this does not allow for the system to clear the stack. I switched out the thread sleeps with a timer and a callback and then the whole system worked. I do not see the popStack function in the unit tests? And the builder did not allow it in the fluent syntax. Am I missing something? |
I have a state machine that loops around for more than 256,000 times and I eventually get an error The maximum number of stajavascript:void(0);ck frames supported by Visual Studio has been exceeded. Is there a workaround for this. I can see in the call stcack there are now breaks.
The text was updated successfully, but these errors were encountered: