Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new GenericDebugModelId for generic model presentation and breakpoint management #141

Merged
merged 3 commits into from
Jan 13, 2020

Conversation

dvojtise
Copy link
Contributor

@dvojtise dvojtise commented Jan 8, 2020

This PR introduces a new DebugModelId that intends to be generic for most GEMOC engines.

Reminder: the DebugModelId is used by breakpoints definitions, by debug presentation (ie. debug and variable view) and source locators (ie. the service used by the debug view to retrieve the model element in the editors)

Using this central Id instead of engine specific ones will help decrease issue while defining new dsl as this id must be used by the GUI when setting the breakpoints (ie. in the breakpoint actions in the odesign, in the Sirius debugService that contributes to the debug layer of the odesign)

This PR also contributes a generic ModelPresentation and SourceLocator (currently based on the sequential engine)

Future PRs should contribute enhancement for handling other engine presentations (eg. concurrent, ...)

Important note: once an engine switches to the use of this new model id, existing launch configurations will not be valid anymore (the debugmodelId is stored in the .launch file in the user's workspaces). The users must recreate them.

This generic ModelId intends to replace the engine specific ModelId in
order to simplify engine specification for engines that can share the
following features:
- gemoc generic model presentation (used by debug stack view, variable
view)
- gemoc generic breakpoint
- generic source locator

Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
@dvojtise dvojtise merged commit bbed8a2 into master Jan 13, 2020
@dvojtise dvojtise deleted the remove_ale_dependency_2_javaengine branch January 13, 2020 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant