I am having problems running or debuggin Perl programs in Eclipse.
My configuration is as follows:
eclipse.buildId=I20041216-2000
java.version=1.5.0
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
When I run the Perl script in Eclipse, I get the following errors:
Error Jan 01, 2005 14:38:51.478 java.lang.NullPointerException
java.lang.NullPointerException
at org.eclipse.debug.internal.ui.views.launch.LaunchView.findFrame(LaunchView.java:403)
at org.eclipse.debug.internal.ui.views.launch.LaunchView.initializeSelection(LaunchView.java:382)
at org.eclipse.debug.internal.ui.views.launch.LaunchView$1.run(LaunchView.java:243)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:53)
at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:714)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1046)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartListenerList2.firePartVisible(PartListenerList2.java:146)
at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:159)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:297)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:333)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:607)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:266)
at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:381)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1034)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1008)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1183)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:520)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:472)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:477)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:779)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2798)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:757)
at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:743)
at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2941)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2939)
at org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeToPerspectiveMenu.java:91)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.java:331)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:346)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:110)
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)
Error Jan 01, 2005 14:38:51.468 *** SWT nested exception
Error Jan 01, 2005 14:38:51.458 Failed to execute runnable (java.lang.NullPointerException)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2827)
at org.eclipse.swt.SWT.error(SWT.java:2752)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:53)
at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:714)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1046)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartListenerList2.firePartVisible(PartListenerList2.java:146)
at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:159)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:297)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:333)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:607)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:266)
at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:381)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1034)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1008)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1183)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:520)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:472)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:477)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:779)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2798)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:757)
at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:743)
at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2941)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2939)
at org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeToPerspectiveMenu.java:91)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.java:331)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:346)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:110)
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)
Error Jan 01, 2005 14:38:51.458 Unhandled event loop exception
I have no idea how to go about this. I would appreciate any pointers.
Yours sincerely,
Berk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, I am not sure if the above errors I found in the error log are related to debugger problems.
In general, the debugger simply doesn't stop at breakpoints. I have seen that people posted similar complaints in the forum, but none of the solutions provided work for me.
Do other people have similar problems and/or possible solutions to the debugger problem. I cannot view local variables, and I cannot step through the program.
I am manually switching to the debugger perspective.
Thank you very much,
Berk
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, berk
Did you have this problem solved?
I got the same problem. I used epic 0.3.1. My log file show this
------------------------------------------------------
!MESSAGE An internal error occurred during: "Initialize Debug View".
!STACK 0
java.lang.NullPointerException
at org.eclipse.debug.internal.ui.views.launch.LaunchView.findFrame(LaunchView.java:464)
at org.eclipse.debug.internal.ui.views.launch.LaunchView.access$5(LaunchView.java:456)
at org.eclipse.debug.internal.ui.views.launch.LaunchView$3.run(LaunchView.java:430)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Help is really appreciated
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a similar problem. When debugging, I only see a stack frame and a highlighted Terminate-button in the Debug view. But no variables at all in the variables view and I can't step through.
I'll appreciate help a lot ...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it definitely looks like EPIC/Eclipse 3.1 compatibility problem. I'm running both Eclipse 3.0 and Eclipse 3.1 RC3 on the same machine and on 3.0 debugger works just fine. (WinXP, ActiveState Perl 5.8.6.811). On 3.1 both EPIC 0.3.0 and 0.3.10 enter debugging mode but have Step Into / Step Over, etc. disabled, do not have current line indicator, so basically do not work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did some tests, and it looks like something in DB::DB is hanging. If you replace DB::DB with an empty sub, debugging "works" (does nothing) instead of hanging. If you do something like this:
my $old = \&DB::DB;
*DB::DB = sub {
print "executing a line of code...\n";
$old->(@_);
}
You see one "executing" line print out, and then hang.
It seems that port 5000 is opened while in debug mode, presumably this is how eclipse and the running perl interpreter talk?
Ideas anyone? I've yet to actually look at the code. Digging in now.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately version 0.3.12 seems to have problems with Eclipse 3.1 too (ActiveState Perl 5.8.7 Build 813, W2K SP4, Eclipse 3.1): There are erratic errors, sometimes you get the following error 'An internal error occures during "Initialize Debug View"'. On breakpoints the debugger stops only once:
blue();
sub blue {
my $i = 0;
for ( $i = 0 ; $i < 10 ; $i++ ) {
print "Hello World $i\n"; # Breakpoint here
}
}
In Eclipse 3.0.2 debugging with Epic 0.3.12 seems to be impossible due to errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am having problems running or debuggin Perl programs in Eclipse.
My configuration is as follows:
eclipse.buildId=I20041216-2000
java.version=1.5.0
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
When I run the Perl script in Eclipse, I get the following errors:
Error Jan 01, 2005 14:38:51.478 java.lang.NullPointerException
java.lang.NullPointerException
at org.eclipse.debug.internal.ui.views.launch.LaunchView.findFrame(LaunchView.java:403)
at org.eclipse.debug.internal.ui.views.launch.LaunchView.initializeSelection(LaunchView.java:382)
at org.eclipse.debug.internal.ui.views.launch.LaunchView$1.run(LaunchView.java:243)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:53)
at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:714)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1046)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartListenerList2.firePartVisible(PartListenerList2.java:146)
at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:159)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:297)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:333)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:607)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:266)
at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:381)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1034)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1008)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1183)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:520)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:472)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:477)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:779)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2798)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:757)
at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:743)
at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2941)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2939)
at org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeToPerspectiveMenu.java:91)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.java:331)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:346)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:110)
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)
Error Jan 01, 2005 14:38:51.468 *** SWT nested exception
Error Jan 01, 2005 14:38:51.458 Failed to execute runnable (java.lang.NullPointerException)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:2827)
at org.eclipse.swt.SWT.error(SWT.java:2752)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2780)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2451)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:319)
at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:53)
at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:714)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1046)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartListenerList2.firePartVisible(PartListenerList2.java:146)
at org.eclipse.ui.internal.WorkbenchPage$1.propertyChange(WorkbenchPage.java:159)
at org.eclipse.ui.internal.LayoutPart.setVisible(LayoutPart.java:297)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:333)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:607)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126)
at org.eclipse.ui.internal.presentations.newapi.PresentablePartFolder.select(PresentablePartFolder.java:266)
at org.eclipse.ui.internal.presentations.newapi.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.newapi.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:381)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1034)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1008)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1183)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:520)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:472)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:477)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:230)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:779)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2798)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:757)
at org.eclipse.ui.internal.WorkbenchPage.access$7(WorkbenchPage.java:743)
at org.eclipse.ui.internal.WorkbenchPage$11.run(WorkbenchPage.java:2941)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2939)
at org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeToPerspectiveMenu.java:91)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.java:331)
at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:346)
at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:110)
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)
Error Jan 01, 2005 14:38:51.458 Unhandled event loop exception
I have no idea how to go about this. I would appreciate any pointers.
Yours sincerely,
Berk
Hi,
Actually, I am not sure if the above errors I found in the error log are related to debugger problems.
In general, the debugger simply doesn't stop at breakpoints. I have seen that people posted similar complaints in the forum, but none of the solutions provided work for me.
Do other people have similar problems and/or possible solutions to the debugger problem. I cannot view local variables, and I cannot step through the program.
I am manually switching to the debugger perspective.
Thank you very much,
Berk
Hi, berk
Did you have this problem solved?
I got the same problem. I used epic 0.3.1. My log file show this
------------------------------------------------------
!MESSAGE An internal error occurred during: "Initialize Debug View".
!STACK 0
java.lang.NullPointerException
at org.eclipse.debug.internal.ui.views.launch.LaunchView.findFrame(LaunchView.java:464)
at org.eclipse.debug.internal.ui.views.launch.LaunchView.access$5(LaunchView.java:456)
at org.eclipse.debug.internal.ui.views.launch.LaunchView$3.run(LaunchView.java:430)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)
Help is really appreciated
Have you two guys solved the problem?
I have a similar problem. When debugging, I only see a stack frame and a highlighted Terminate-button in the Debug view. But no variables at all in the variables view and I can't step through.
I'll appreciate help a lot ...
Guys,
it definitely looks like EPIC/Eclipse 3.1 compatibility problem. I'm running both Eclipse 3.0 and Eclipse 3.1 RC3 on the same machine and on 3.0 debugger works just fine. (WinXP, ActiveState Perl 5.8.6.811). On 3.1 both EPIC 0.3.0 and 0.3.10 enter debugging mode but have Step Into / Step Over, etc. disabled, do not have current line indicator, so basically do not work.
The problem persists with Epic 0.3.11, Eclipse 3.1, and ActiveState Perl 5.8.6 on W2K SP4
Same here - I tested with Eclipse 3.1 final and EPIC 0.3.11. Debugger does not work.
Thanks for the confirmation. Thought I was going loony.
I see EPIC 0.3.0 available from the Epic site. Does anyone know where I can find the Eclipse SDK 3.0? I must have blown mine away.
Go through project-specific links (e.g. JDT Downloads) from here: http://www.eclipse.org/downloads/index.php. All releases are available for download.
Thanks. Eclipse 3.0.2 and Epic 0.3.11 seem to resolve it..
Any ideas what is wrong?
I did some tests, and it looks like something in DB::DB is hanging. If you replace DB::DB with an empty sub, debugging "works" (does nothing) instead of hanging. If you do something like this:
my $old = \&DB::DB;
*DB::DB = sub {
print "executing a line of code...\n";
$old->(@_);
}
You see one "executing" line print out, and then hang.
It seems that port 5000 is opened while in debug mode, presumably this is how eclipse and the running perl interpreter talk?
Ideas anyone? I've yet to actually look at the code. Digging in now.
There will be a new EPIC version that (hopefully) removes this problem round about midth of august.
Regards
Stephan
Unfortunately version 0.3.12 seems to have problems with Eclipse 3.1 too (ActiveState Perl 5.8.7 Build 813, W2K SP4, Eclipse 3.1): There are erratic errors, sometimes you get the following error 'An internal error occures during "Initialize Debug View"'. On breakpoints the debugger stops only once:
blue();
sub blue {
my $i = 0;
for ( $i = 0 ; $i < 10 ; $i++ ) {
print "Hello World $i\n"; # Breakpoint here
}
}
In Eclipse 3.0.2 debugging with Epic 0.3.12 seems to be impossible due to errors.