This is not a problem but more of a fundamental question, that I know will have been implemented differently by each of the tool suppliers, so I want what people believe to be the intended behaviour by the OMG UML/SysML working groups.
In the following image of a complex state, and I know there are a lot of untriggered and only guarded transitions. Is the do behaviour of the state Motion::Active::Debounce trigger if the guard on the exiting transition is true before the entry behaviour is completed?
Or, would you model this in a different manner?

The UML 2.5.1 spec states on p. 309:
So: the doActivity will be triggered but aborted immediately since the exit condition is true. In other words: it will not run.