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

Tracer Plugin is not loaded when needed #44

Open
lschuetze opened this issue Jul 18, 2013 · 0 comments
Open

Tracer Plugin is not loaded when needed #44

lschuetze opened this issue Jul 18, 2013 · 0 comments
Assignees

Comments

@lschuetze
Copy link
Member

Eclipse uses a lazy activation mechanism to load plugins. This causes the tracer plugin to not be loaded when the interpretation is started and therefor causes the tracer view not to show any interpretation results.

The cause is due to inversion of control. Since the tracer registers itself as a listener to the interpreter it needs to be started before the interpretation process is starting. Due ot the lazy activation this is not possible without adding dependencies to the interpreter. This should be avoided under all circumstances (since the tracer plugin uses the interpreter we would have circular dependencies).

Is there any mechanism within Eclipse to avoid this issue? There is the IStartup Interface but that would cause the tracer to be loaded (and so all its dependencies). First, this causes Eclipse to use much more memory as necessary and second it increases the startup time of Eclipse unnecessarily.

Since Eclipse Juno, there is the ability to use dependency injection. This need to be investigated whether it is an appropriate solution to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant