Community
Participate
Working Groups
Created attachment 253412 [details] Error log When trying to launch the standalone debugger using the M7 platform, I'm getting a bunch of unresolved dependencies which can be seen in the attachment. The first one is: !ENTRY org.eclipse.e4.core.di.extensions 4 0 2015-05-12 10:05:25.640 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Could not resolve module: org.eclipse.e4.core.di.extensions [4] Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di; bundle-version="0.9.0" -> Bundle-SymbolicName: org.eclipse.e4.core.di; bundle-version="1.5.0.v20150421-2214" org.eclipse.e4.core.di [128] Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di.annotations; bundle-version="[1.4.0,2.0.0)"; visibility:="reexport"
I tried with platform M5a and M6 and the failures starts with M6
There are some new dependencies that need to be added to the config.ini of the stand alone debugger. I'm working on it.
New Gerrit change created: https://git.eclipse.org/r/47764
Gerrit change https://git.eclipse.org/r/47764 was merged to [cdt_8_7]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=0434220f8009ac6598b5e2c6a5441d1f9ee85511
New Gerrit change created: https://git.eclipse.org/r/47875
Gerrit change https://git.eclipse.org/r/47875 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fdf38670712217321270f49f8b6db08a380520c1
Fixed on master and cdt_8_7
As this problem could happen again, anytime a new dependency is added to the platform, I wanted to document how to easily fix it. When trying to launch the standalone debugger, when a dependency has been added to the platform, errors like the below will be seen: > org.osgi.framework.BundleException: Could not resolve module: > org.eclipse.e4.core.di.extensions [4] > Unresolved requirement: Require-Bundle: org.eclipse.e4.core.di; > bundle-version="0.9.0" > -> Bundle-SymbolicName: org.eclipse.e4.core.di; > bundle-version="1.5.0.v20150421-2214" > org.eclipse.e4.core.di [128] > Unresolved requirement: Require-Bundle: > org.eclipse.e4.core.di.annotations; bundle-version="[1.4.0,2.0.0)"; > visibility:="reexport" One should take the last one in the stack trace, in this case org.eclipse.e4.core.di.annotations, and add it to org.eclipse.cdt.debug.application/scripts/config.ini To test it quickly, one can then copy the new config.ini to ~/cdtdebugger to replace the old config.ini. This may require multiple iterations if multiple dependencies need to be added.