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

IEngineAddon.engineStarted method called 2 times on start

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

Description

For a given language specific IEngineAddon (ie. declared in XDSML_Definition tag of the plugin.xml of the xdsml project)

The addon method engineStarted is called 2 times instead of one.

(I haven't checked with engine addon that is not language specific)

To reproduce this issue, one can take https://github.com/dvojtise/mde-crashcourse-logo/tree/master/part3-mmfirst-solution projects and then modify the https://github.com/dvojtise/mde-crashcourse-logo/blob/master/part3-mmfirst-solution/fr.inria.sed.logo.xdsml/src/fr/inria/sed/logo/xdsml/ui/turtleboard/TurtleBoardEngineAddon.java method engineStarted by removing the `if(turtleGUI != null) {` test which is a workaround for this issue.

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.