JSSCxml
JSSCxml copied to clipboard
scxml Debugger works not correct on parallel states
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>
Hey. Can you provide a little context ? What does your State Chart look like ?
<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>
Hello Touffy,
really helpful piece of software, thank you.
But have problems with Parallel states:
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 [email protected]mailto:[email protected] www.bsh-group.comhttp://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:[email protected]] 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 GitHubhttps://github.com/Touffy/JSSCxml/issues/2#issuecomment-383610590, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ak3zs6c3rWQWpd6phHIyYrMha69kd6wZks5tre8DgaJpZM4TgE5p.
[cid:[email protected]]
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 [email protected]mailto:[email protected] www.bsh-group.comhttp://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:[email protected]] 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 GitHubhttps://github.com/Touffy/JSSCxml/issues/2#issuecomment-383610590, or mute the threadhttps://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 [email protected]mailto:[email protected] www.bsh-group.comhttp://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:[email protected]] 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 GitHubhttps://github.com/Touffy/JSSCxml/issues/2#issuecomment-383615817, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ak3zs5EbV6boYjfQys_m4bCwD90bdADmks5trfKSgaJpZM4TgE5p.
Hello Touffy, do you have any time schedule for fixing this bug ?
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.