- This topic has 7 replies, 3 voices, and was last updated 19 years, 8 months ago by Riyad Kalla.
-
AuthorPosts
-
philduhsParticipantI have just installed myEclipse v3.8.2 onto Eclipse 3.0.1 (j2sdk1.4.2_02) in an effort to address the above issue but I still cannot see the breakpoint marker in the column to the left of the code when I set a breakpoint. Interestingly, the blue rectangle does appear on the RHS of the code so I know that a breakpoint has been set. If I double-click in the column to the left of the code the breakpoint is removed (blue rectangle vanishes).
The bigger problem is that when I run the code/pages (eg. it might be a scriptlet on a JSP page) the debugger does kick in at the right point and the debug perspective is displayed BUT there is no variable detail at all and I cannot issue any of the Run commands (step, stop, resume, etc).
At this point sometimes the breakpoint is displayed in the LHS column, sometimes not. If I go back to the myEclipse view and type some characters and save the file again sometimes my breakpoints appear in the LHS as well.
From here, even if I request the page again I get no debugging (stopping of execution and swiching back to Eclipse). Changes to code are reflected in the output and breakpoints can be set (sometimes visible, sometimes not) but they do nothing when the code runs.
This was running fine in previous Eclipse/myEclipse install but then stopped for some reason (same symptoms as now). This problem is now apparent after a completely new install.
Any ideas/solutions?
Riyad KallaMemberWhat application server are you debugging against? Please find if there are any exceptions being throwin your log file (workspace dir)\.metadata\.log is the location.
philduhsParticipantI am using Tomcat 5.0.14 and get the following exceptions:
!ENTRY org.eclipse.core.runtime 4 2 Nov 09, 2004 21:17:42.182
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:141)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:124)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:113)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:189)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:76)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:301)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1593)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:773)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:753)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3051)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3048)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.doShowDebugView(PerspectiveManager.java:275)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.showDebugView(PerspectiveManager.java:263)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$5.run(PerspectiveManager.java:329)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)!ENTRY org.eclipse.debug.ui 4 120 Nov 09, 2004 21:17:42.202
!MESSAGE Error logged from Debug UI:
!STACK 1
org.eclipse.ui.PartInitException[0]: java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:141)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:124)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:113)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:189)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:76)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:301)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1593)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:773)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:753)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3051)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3048)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.doShowDebugView(PerspectiveManager.java:275)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.showDebugView(PerspectiveManager.java:263)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$5.run(PerspectiveManager.java:329)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
!SUBENTRY 1 org.eclipse.ui 4 0 Nov 09, 2004 21:17:42.202
!MESSAGE An error has occurred while restoring the view: org.eclipse.debug.ui.DebugView
!STACK 0
java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:141)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:124)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:113)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:189)
at org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:76)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:301)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:616)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:273)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:530)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:528)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1593)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:773)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:753)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3051)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3048)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.doShowDebugView(PerspectiveManager.java:275)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager.showDebugView(PerspectiveManager.java:263)
at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$5.run(PerspectiveManager.java:329)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Riyad KallaMemberI don’t see MyEclipse code anywhere in that stacktrace… I think you have a corrupt install… can you try and redownload Eclipse 3.0.1 SDK (must be the SDK) and try and do a clean install and see if this problem clears up? The “NoClassDefFoundError” is whats making me think this install is corrupt…
philduhsParticipantGood suggestion (for a slightly different reason)! I had renamed the eclipse directory to “eclipse_myEclipse” (as I use another copy of Eclipse for another reason) and failed to read the instructions that specify the eclipse directory I’m installing into needs to be called “eclipse”. After uninstalling and starting from scratch again all was well.
So, not a myEclipse problem exactly, but Eclipse did function correctly on it’s own before I installed myEclipse into it.
Many thanks for your help,
Phil
Riyad KallaMemberI’m glad its working now, thank you for closing the loop with us.
wcherry69MemberI get the following error when I try and set a breakpoint in a .java file. I did a fresh install of eclipse-SDK-3.1M4, java 1.5.0_02, and EnterpriseWorkbenchInstaller_030804_3.1Beta. No breakpoint markers are visible in the gutter or in the breakpoint view. If I run the same version of Eclipse without MyEclipse breakpoints show up. Any suggestions.
!ENTRY org.eclipse.ui 4 4 2005-04-07 20:36:53.642
!MESSAGE Unhandled event loop exception!ENTRY org.eclipse.ui 4 0 2005-04-07 20:36:53.652
!MESSAGE org.eclipse.jdt.debug.core.JDIDebugModel.lineBreakpointExists(Lorg/eclipse/core/resources/IResource;Ljava/lang/String;I)Lorg/eclipse/jdt/debug/core/IJavaLineBreakpoint;
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.jdt.debug.core.JDIDebugModel.lineBreakpointExists(Lorg/eclipse/core/resources/IResource;Ljava/lang/String;I)Lorg/eclipse/jdt/debug/core/IJavaLineBreakpoint;
at org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter.toggleLineBreakpoints(ToggleBreakpointAdapter.java:186)
at org.eclipse.jdt.internal.debug.ui.actions.ManageBreakpointRulerAction.run(ManageBreakpointRulerAction.java:106)
at org.eclipse.ui.texteditor.AbstractRulerActionDelegate.run(AbstractRulerActionDelegate.java:99)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:244)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:555)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:505)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:419)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2803)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2448)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1569)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1540)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:285)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:220)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:710)
at org.eclipse.core.launcher.Main.main(Main.java:694)
Riyad KallaMember!ENTRY org.eclipse.ui 4 0 2005-04-07 20:36:53.652
!MESSAGE org.eclipse.jdt.debug.core.JDIDebugModel.lineBreakpointExists(Lorg/eclipse/core/resources/IResource;Ljava/lang/String;I)Lorg/eclipse/jdt/debug/core/IJavaLineBreakpoint;
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.jdt.debug.core.JDIDebugModel.lineBreakpointExists(Lorg/eclipse/core/resources/IResource;Ljava/lang/String;I)Lorg/eclipse/jdt/debug/core/IJavaLineBreakpoint;
at org.eclipse.jdt.internal.debug.ui.actions.ToggleBreakpointAdapter.toggleLineBreakpoints(ToggleBreakpointAdapter.java:186)From this error I would say you either aren’t running the version of Eclipse you think you are, or it isn’t as “clean” as you think it is… any time you get a MethodNotFound exception, that means incompatible libraries, which means the wrong versions of something is in there…
-
AuthorPosts