Skip to content
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

Show actions that are to be executed during simulations in editors #401

Open
SimonGAndrews opened this issue May 14, 2024 · 1 comment
Open

Comments

@SimonGAndrews
Copy link

Details

Within simulation mode in the editors please can a feature be added to show what actions are to be executed when a given event occurs. Identifying the actions by name/type and when fired (entry/exit/transition) in the log (or other) in a way that shows the fired action sequence relative to the state changes.

This would be very usefull in debugging complex compound/nested state machines (eg the deep test with actions) to see exactly which actions are fired and in what sequence for a given state and event/transition. Thanks

I suppose some generated abbreviation would be needed in cases where the action function is directly written in the machine config (ie unnamed).

Category

Editor

@SimonGAndrews
Copy link
Author

I think a simple way to do this, as starting point at least, is to enable within the new editor simulation the current state object properties to be viewed as is done in the legacy visualiser (see Image below). The actions value then shows the current actions defined in the state. This provides a means to debug a complex action sequence for a transition. Would be very usefull for IOT application development amongst other use cases. Thanks for consideration. Regards, Simon

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant