Eclipse "an internal error occurred during: Launching&a

Hi,

Has anyone seen this error when setting up gdb and OCDRemote as per Jim Lynch’s tutorial?:

eclipse “an internal error occurred during: Launching”

And in the eclipse error log:

java.lang.NoSuchMethodError: org.eclipse.cdt.debug.mi.core.MIPlugin.createCSession

Hi Jeff.

Did you get these error messages when you tried to launch OCDRemote as an “external tool”?

There are places where you have to exactly specify where GDB and OCDRemote is. Check that you managed that part properly. Secondly, make sure that the Windows PATH contains references to the location of OCDRemote and GDB.

Can you supply a bit more detail?

Cheers,

Jim Lynch

OCDRemote starts up fine and sits there waiting.

However, when I click on the debugger icon I get the error. It seems that it’s the Zylin debugger that is throwing the error.

It looks like, NoSuchMethodError

Hi Jeff.

Zylin has been quite stringent on matching the Eclipse version to their CDT plug-in.

As of today, you must download Eclipse 3.2 M4 version in order to use the latest and greatest Zylin CDT plug-in. Previous versions of Eclipse will fail.

The only way to determine this compatibility is to get on the Zylin web site and search through their mailing list archives.

Since Zylin does not keep previous versions of their CDT plug-in, you have to investigate this compatibility every time you build the Eclipse embedded development.

Any chance this is the problem?

Cheers,

Jim Lynch

Jim,

I am running Eclipse version 3.1.2.

Do you think I can drop 3.2M4 on top of this and not lose everthing?

Hi Jeff.

I do this all the time - it will blow away your projects and debug configurations.

I usually copy the Workspace (where the project’s source files, etc. are) to a safe spot on my disk, make paper notes of the debug configurations and their details for later reconstruction.

One good way to do this is to rename your Eclipse directory to something like c:/zeclipse so that nothing is lost. You can browse back to this when it’s time to import the source files of your project.

This allows you to download into a clean environment with the newest version. I think Eclipse has an automatic upgrade feature but I doubt that it works for “pre-release” versions.

Cheers,

Jim Lynch

Thanks, Jim!

That eclipse version thing was the problem.