Summary: | Variables not sent to simulator | ||
---|---|---|---|
Product: | UPPAAL Stratego | Reporter: | Frederik Baymler Mathiesen <fmathi16> |
Component: | Engine | Assignee: | Marius Mikučionis <marius> |
Status: | ASSIGNED --- | ||
Severity: | major | ||
Priority: | P5 | ||
Version: | 4.1.20-6 | ||
Hardware: | PC | ||
OS: | Linux | ||
Architecture: |
Description
Frederik Baymler Mathiesen
2019-10-15 10:45:06 CEST
I cannot reproduce it with Stratego-6 on Linux, I can see the variable x=0 under Process (it is a local declaration afterall). Need more details, e.g. is it specific to Windows? First of all, it is not Windows specific, as I'm running Ubuntu 18.04. Second, it is rather peculiar, as the issue is only with my laptop, but not my desktop despite both running Ubuntu 18.04. Any suggestions to what I can test? OK, one step is missing: one must open the simulator in between step 3 and step 4. Updated MWE: 1. Start new project. 2. Add new state to Template. 3. Add transition from start to the new state. 4. Open simulator, observe the initial state. 5. Go back to the editor Add `int x = 0;` in Template/declarations. 6. Go to simulator, click "yes" to uopload the new model 7. Observe that the new variable is missing as if it is using the old model. A workaround is to press F5 to reload the simulator, but it should not be neccessary. |