manas Developer

Joined: 07 Aug 2008 Posts: 9
|
Posted: Thu Sep 04, 2008 4:34 pm Post subject: Debugger and Eclipse 3.2.2 |
|
|
Hi all,
As I mentioned in the release notes, XVCL Debugger causes 100% CPU usage when the debugging has stopped. This issue does not happen with Eclipse 3.2.2. However as one end-user pointed out, this (Eclipse 3.2.2) leads to several errors on the UI side.
| Quote: |
I have confirmed that while the debugger works without 100% CPU together with Eclipse version 3.2, something strange is going on with regard to processing frames in this version. I have become accustomed to using the "Mark as SPC and Run" context menu item. It does seem to mark the current file as SPC, but does not process it. To process it, I must use the big Green Run Button in the main toolbar. Also, the file doesn't get an icon with the "S" in the upper-lefthand corner either. I have become accustomed to the current SPC frame getting a green colored "S" and former SPC frames having a greyed out "S" on their icon.
I subsequently updated version 3.2 to 3.2.2 with no problems, so this is currently the preferred version of Eclispe with regard to those wanting to do debugging.
As regards the problem that I encountered with the pop-up menu item "Mark as SPC and Run", marking the frame, but not doing the processing, I did notice that I am getting the following two errors: |
| Code: |
1)
eclipse.buildId=M20060629-1905
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Error
Wed Sep 03 16:14:58 EDT 2008
Unhandled event loop exception
2)
eclipse.buildId=M20060629-1905
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Error
Wed Sep 03 16:14:58 EDT 2008
org/eclipse/jface/viewers/BaseLabelProvider
java.lang.NoClassDefFoundError: org/eclipse/jface/viewers/BaseLabelProvider
at edu.xvcl.workbench.WorkbenchPlugin.setSPC(WorkbenchPlugin.java:344)
at edu.xvcl.workbench.popup.actions.MarkAsSPC.run(MarkAsSPC.java:43)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jface.viewers.BaseLabelProvider
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 28 more
|
So I highly recommend using Eclipse 3.4 and just removing the launch configuration after debugging is complete. This again will work if you have a faster CPU. |
|