Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.5
-
None
Description
In a hierarchical state machine the transitions of the parent state should take precedence compared to the ones of the children states.
In this example the s1 state should repeat (after START is called) until the HALT event is raised.
This doesn't seem to work at the moment. This is the state machine that generates the previous graph:
The state machine is stuck inside the s1 state in an endless loop, the HALT event (raised by the main function) is never handled.
I made some tests, the main loop is never returned, therefore no other events are processed. Even when trying to debug using gammaray, the state machine is "stuck".
If instead of using <send> I use a <script> with a QTimer that raises the event, the processing returns to the main loop and the events are handled as expected.