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

Pause model execution may take several seconds before displaying the stack

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

Description

When running a model a relatively high number of steps (several thousands logical steps), then pause the execution (for example using the UI)
then the debug stack view may take time before being filled and available. (it may last several seconds)

I experimented that using the JavaEngine but I suspect that all engines could be impacted.

Other symptoms:
in the language workbench, in the debug view, some threads blink (very quickly). The debug UI in the modeling workbench becomes available when the blinking in the language workbench stops.

I succeed to pause on one of those "blink":
![image](https://user-images.githubusercontent.com/661468/79208863-f0232d80-7e42-11ea-9d2a-61f780ec3b33.png)

Apparently, a big bunch of "Check Debug Command" are queued and processed when pausing.
(related to org.eclipse.debug.core.commands.AbstractDebugCommand.UpdateJob)

Need further investigation in order to find out why.

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.