-
Notifications
You must be signed in to change notification settings - Fork 10
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
scxml Debugger works not correct on parallel states #2
Comments
Hey. Can you provide a little context ? What does your State Chart look like ? |
|
Hello Touffy,
really helpful piece of software, thank you.
But have problems with Parallel states:
<scxml name="Scxml" version="1.0" xmlns="http://www.w3.org/2005/07/scxml">
<parallel id="Airplane_Engines">
<state id="Engine_1" initial="Engine_1_Off">
<state id="Engine_1_Off">
<transition event="Start1" target="Engine_1_On"/>
</state>
<state id="Engine_1_On">
<transition event="Shutdown1" target="Engine_1_Off"/>
</state>
</state>
<state id="Engine_2" initial="Engine_2_Off">
<state id="Engine_2_Off">
<transition event="Start2" target="Engine_2_On"/>
</state>
<state id="Engine_2_On">
<transition event="Shutdown2" target="Engine_2_Off"/>
</state>
</state>
</parallel>
</scxml>
Mit freundlichen Grüßen
Florian Ager
BSH Hausgeräte GmbH
Werner-von-Siemens-Str. 200
83301 Traunreut
Tel.: +49 (8669) 305579
Fax: +49 (8669) 305023
florian.ager@bshg.com<mailto:florian.ager@bshg.com>
www.bsh-group.com<http://www.bsh-group.com>
BSH Hausgeräte GmbH, Carl-Wery-Str. 34, 81739 München
Vorsitzender des Aufsichtsrats: Uwe Raschke
Geschäftsführung: Dr. Karsten Ottenberg (Vorsitzender), Matthias Ginthum, Johannes Närger, Dr. Michael Schöllhorn
Sitz: München; Registergericht: Amtsgericht München, HRB 75534
WEEE-Reg.-Nr. DE 57986696
Diese Mitteilung ist ausschließlich für den beabsichtigten Empfänger bestimmt. Sie kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Jede(r) unberechtigte Gebrauch, Kopie, Weitergabe oder Veröffentlichung ist untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie uns bitte sofort durch Antwortmail und löschen Sie diese E-Mail nebst etwaigen Anlagen und einschließlich aller angefertigten Kopien von Ihrem System.
From: David Junger [mailto:notifications@github.com]
Sent: Monday, April 23, 2018 5:11 PM
To: Touffy/JSSCxml
Cc: Ager, Florian (REU/OP-CGDESF); Author
Subject: [NEWS: ] Re: [Touffy/JSSCxml] scxml Debugger works not correct on parallel states (#2)
Hey. Can you provide a little context ? What does your State Chart look like ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Ak3zs6c3rWQWpd6phHIyYrMha69kd6wZks5tre8DgaJpZM4TgE5p>.
|
[cid:image001.png@01D3DB27.7DFA75D0]
Mit freundlichen Grüßen
Florian Ager
BSH Hausgeräte GmbH
Werner-von-Siemens-Str. 200
83301 Traunreut
Tel.: +49 (8669) 305579
Fax: +49 (8669) 305023
florian.ager@bshg.com<mailto:florian.ager@bshg.com>
www.bsh-group.com<http://www.bsh-group.com>
BSH Hausgeräte GmbH, Carl-Wery-Str. 34, 81739 München
Vorsitzender des Aufsichtsrats: Uwe Raschke
Geschäftsführung: Dr. Karsten Ottenberg (Vorsitzender), Matthias Ginthum, Johannes Närger, Dr. Michael Schöllhorn
Sitz: München; Registergericht: Amtsgericht München, HRB 75534
WEEE-Reg.-Nr. DE 57986696
Diese Mitteilung ist ausschließlich für den beabsichtigten Empfänger bestimmt. Sie kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Jede(r) unberechtigte Gebrauch, Kopie, Weitergabe oder Veröffentlichung ist untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie uns bitte sofort durch Antwortmail und löschen Sie diese E-Mail nebst etwaigen Anlagen und einschließlich aller angefertigten Kopien von Ihrem System.
From: David Junger [mailto:notifications@github.com]
Sent: Monday, April 23, 2018 5:11 PM
To: Touffy/JSSCxml
Cc: Ager, Florian (REU/OP-CGDESF); Author
Subject: [NEWS: ] Re: [Touffy/JSSCxml] scxml Debugger works not correct on parallel states (#2)
Hey. Can you provide a little context ? What does your State Chart look like ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Ak3zs6c3rWQWpd6phHIyYrMha69kd6wZks5tre8DgaJpZM4TgE5p>.
|
Thank you. I have reproduced the behaviour you describe in the JSSC debugger. It's been a while since I worked on JSSC (especially the states-to-enter tree builder), but I will look into it. |
Thank you very much.
Mit freundlichen Grüßen
Florian Ager
BSH Hausgeräte GmbH
Werner-von-Siemens-Str. 200
83301 Traunreut
Tel.: +49 (8669) 305579
Fax: +49 (8669) 305023
florian.ager@bshg.com<mailto:florian.ager@bshg.com>
www.bsh-group.com<http://www.bsh-group.com>
BSH Hausgeräte GmbH, Carl-Wery-Str. 34, 81739 München
Vorsitzender des Aufsichtsrats: Uwe Raschke
Geschäftsführung: Dr. Karsten Ottenberg (Vorsitzender), Matthias Ginthum, Johannes Närger, Dr. Michael Schöllhorn
Sitz: München; Registergericht: Amtsgericht München, HRB 75534
WEEE-Reg.-Nr. DE 57986696
Diese Mitteilung ist ausschließlich für den beabsichtigten Empfänger bestimmt. Sie kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Jede(r) unberechtigte Gebrauch, Kopie, Weitergabe oder Veröffentlichung ist untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie uns bitte sofort durch Antwortmail und löschen Sie diese E-Mail nebst etwaigen Anlagen und einschließlich aller angefertigten Kopien von Ihrem System.
From: David Junger [mailto:notifications@github.com]
Sent: Monday, April 23, 2018 5:26 PM
To: Touffy/JSSCxml
Cc: Ager, Florian (REU/OP-CGDESF); Author
Subject: [NEWS: ] Re: [Touffy/JSSCxml] scxml Debugger works not correct on parallel states (#2)
Thank you. I have reproduced the behaviour you describe in the JSSC debugger. It's been a while since I worked on JSSC (especially the states-to-enter tree builder), but I will look into it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/Ak3zs5EbV6boYjfQys_m4bCwD90bdADmks5trfKSgaJpZM4TgE5p>.
|
Hello Touffy, |
Sorry, no. I have done some debugging and it won't be an easy bug to fix without breaking other parts of JSSC. I don't even remember why I made it rebuild the whole active states tree every time instead of just the part up to the LCCA, but I must have had a good reason or I would have let it stop there and this bug wouldn't exist. |
following code works not correct with jsscxml:
if Engine_1_On is active and event "Start2" is submitted, Engine 1 falls back to Engine_1_Off state.
<scxml name="Scxml" version="1.0" xmlns="http://www.w3.org/2005/07/scxml"> <parallel id="Airplane_Engines"> <state id="Engine_1" initial="Engine_1_Off"> <state id="Engine_1_Off"> <transition event="Start1" target="Engine_1_On"/> </state> <state id="Engine_1_On"> <transition event="Shutdown1" target="Engine_1_Off"/> </state> </state> <state id="Engine_2" initial="Engine_2_Off"> <state id="Engine_2_Off"> <transition event="Start2" target="Engine_2_On"/> </state> <state id="Engine_2_On"> <transition event="Shutdown2" target="Engine_2_Off"/> </state> </state> </parallel> </scxml>
The text was updated successfully, but these errors were encountered: