You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that it is not currently possible to use the multidimensional trace addon with RTDs specified in a separate file of the static model.
To use this addon with my execution engine, I specify my RTDs in a separate file of the static model (no weaving is used). The view of the multidimensional trace addon is built when the first step is executed but then the view is not updated on the following step executions. The addon does not see that the RTDs have been updated.
In the file org.eclipse.gemoc.trace.gemoc/src/org/eclipse/gemoc/trace/gemoc/traceaddon/AbstractTraceAddon.xtend, the BatchModelChangeListener is built with the resource model to execute (the static model) and all resources related to it (i.e., resources that are linked to the resource model with cross references). To be a bit more generic, it may be interesting to built the BatchModelChangeListener with the resource that contains the RTDs, which may be the resource model (in case of weaving) or another file (if RTDs are specified in a separate file).
The text was updated successfully, but these errors were encountered:
Additionally, I think this could also be used with engines not using aspect weaving.
For example, using Java/K3 engine and Moccml Engine without the help of Melange also have the same issue.
To extend your idea, it may also be possible to define a default implementation returning the static resource model. Then the default method can be overridden in each execution context implementation if needed.
It seems that it is not currently possible to use the multidimensional trace addon with RTDs specified in a separate file of the static model.
To use this addon with my execution engine, I specify my RTDs in a separate file of the static model (no weaving is used). The view of the multidimensional trace addon is built when the first step is executed but then the view is not updated on the following step executions. The addon does not see that the RTDs have been updated.
In the file org.eclipse.gemoc.trace.gemoc/src/org/eclipse/gemoc/trace/gemoc/traceaddon/AbstractTraceAddon.xtend, the BatchModelChangeListener is built with the resource model to execute (the static model) and all resources related to it (i.e., resources that are linked to the resource model with cross references). To be a bit more generic, it may be interesting to built the BatchModelChangeListener with the resource that contains the RTDs, which may be the resource model (in case of weaving) or another file (if RTDs are specified in a separate file).
The text was updated successfully, but these errors were encountered: