List Info

Thread: debug fails when stepping into included file




debug fails when stepping into included file
user name
2007-09-24 16:01:45
Hi,
I get an error when debugging and stepping into an included
file. The
error appends only with files included in a project set in
"Included
Paths", whereas includes with relative paths works fine
and can be
stepped into by the debugger.

Otherwise when I do a ctrl click on the included file in the
editor
I'm able to follow the file into my other project which is
set in
"Include Path", so the link between project can be
done by PDT.

The error occurs when stepping into the line
include 'Zend/Controller/Front.php';

This file is part of a project called library which is set
in 'Included Paths'.

The error is the following

"Error opening the editor"

org.eclipse.core.runtime.AssertionFailedException: null
argument:The
editor input must have a non-null name
	at
org.eclipse.core.runtime.Assert.isNotNull(Assert.java:84)
	at
org.eclipse.ui.internal.PartTester.testEditorInput(PartTeste
r.java:57)
	at
org.eclipse.ui.internal.PartTester.testEditor(PartTester.jav
a:43)
	at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi
torReference.java:671)
	at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef
erence.java:426)
	at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb
enchPartReference.java:592)
	at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe
rence.java:263)
	at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(
WorkbenchPage.java:2661)
	at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben
chPage.java:2592)
	at
org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPag
e.java:2584)
	at
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j
ava:2569)
	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator
.java:67)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa
ge.java:2564)
	at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa
ge.java:2548)
	at
org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacil
ity$1.run(SourceLookupFacility.java:355)
	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator
.java:67)
	at
org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacil
ity.openEditor(SourceLookupFacility.java:365)
	at
org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacil
ity.openEditor(SourceLookupFacility.java:274)
	at
org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacil
ity.display(SourceLookupFacility.java:218)
	at
org.eclipse.debug.ui.DebugUITools.displaySource(DebugUITools
.java:764)
	at
org.eclipse.debug.internal.ui.elements.adapters.StackFrameSo
urceDisplayAdapter$SourceDisplayJob.runInUIThread(StackFrame
SourceDisplayAdapter.java:167)
	at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94)
	at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3
5)
	at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr
onizer.java:123)
	at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav
a:3650)
	at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java
:3287)
	at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav
a:2389)
	at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)

	at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22
19)
	at
org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:289)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
bench.java:461)
	at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j
ava:149)
	at
org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:106)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips
eAppHandle.java:153)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
.runApplication(EclipseAppLauncher.java:106)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher
.start(EclipseAppLauncher.java:76)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:363)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS
tarter.java:176)
	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.equinox.launcher.Main.invokeFramework(Main.java:
497)
	at
org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1162)


best regards,

Yann
_______________________________________________
pdt-dev mailing list
pdt-deveclipse.org
http
s://dev.eclipse.org/mailman/listinfo/pdt-dev

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )