eclipse-gemoc / eclipse-gemoc/gemoc-studio-modeldebugging

Mutidimentional timeline fails to restore states on complex RTD

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Working on logo (https://github.com/dvojtise/mde-crashcourse-logo/tree/master/part3-mmfirst-solution), it seems that the multidimensional timeline fails to correctly restore the RTD when clicking back in the timeline.

(note: even after applying the https://github.com/eclipse/gemoc-studio-modeldebugging/pull/94)

Apparently, it works correctly with the FSM.

As FSM has a flat RTD layout (all RTD attributes are directly hosted by an object from the static structure) , **I'm wondering if someone has already tried to use the restoreState on complex RTD**

ie. some runtime object containing nested runtime objects and nested runtime attributes
In the case of Logo, I have a structure where everything bellow runtimeContext is marked with @aspect :
```
Program
runtimeContext : RuntimeContext
RuntimeContext
turtle : Turtle
reachedPoints : Point
segments : Segment
Turtle
position : Point
heading
Point
x
y
Segment
origin : Point
dest : Point
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.