debugger cannot locate source file [message #218141] |
Mon, 31 October 2005 23:21  |
Eclipse User |
|
|
|
Originally posted by: ddruding.cfl.rr.com
I am trying to stop at a breakpoint in a VERY simple java program (i.e.,
HelloWorld).
When the IDE switches to the Debug perspective, a tab appears with the title
"HelloWorld.main(String[]) line:21".
The first line of text in the tab is "Source not found.", followed by a
button with the following text:
"Edit Source Lookup Path...". The directory containing HelloWorld.java is
in the list of folders displayed in the dialog activated by clicking that
button.
The project properties page indicates that there are not any project
specific settings.
Workspace Settings for the compiler have all the classfile generation
options selected.
The error log contains the following:
Message: Error logged from Debug Core:
Exception Stack Trace:
java.lang.NoClassDefFoundError:
org/eclipse/jdt/internal/debug/core/JavaDebugUtils
at
org.eclipse.jdt.launching.sourcelookup.containers.JavaSource LookupParticipan
t.getSourceName(JavaSourceLookupParticipant.java:60)
at
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupPart icipant.findSour
ceElements(AbstractSourceLookupParticipant.java:60)
at
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor$SourceLooku
pQuery.run(AbstractSourceLookupDirector.java:126)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor.doSourceLoo
kup(AbstractSourceLookupDirector.java:461)
at
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor.getSourceEl
ement(AbstractSourceLookupDirector.java:711)
at
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor.getSourceEl
ement(AbstractSourceLookupDirector.java:449)
at
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.getCompila
tionUnit(JavaHotCodeReplaceManager.java:903)
at
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.getAffecte
dFrame(JavaHotCodeReplaceManager.java:801)
at
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.getAffecte
dFrames(JavaHotCodeReplaceManager.java:761)
at
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.attemptPop
Frames(JavaHotCodeReplaceManager.java:711)
at
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.doHotCodeR
eplace(JavaHotCodeReplaceManager.java:446)
at
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.access$0(J
avaHotCodeReplaceManager.java:416)
atorg.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplace Manager$1.run(Ja
vaHotCodeReplaceManager.java:305)
at org.eclipse.debug.core.DebugPlugin$AsynchJob.run(DebugPlugin .java:1027)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
Anyone out there seen this behavior before?
Thanks,
Dino
|
|
|
|
Re: debugger cannot locate source file [message #218375 is a reply to message #218353] |
Sat, 05 November 2005 14:10  |
Eclipse User |
|
|
|
Originally posted by: ddruding.cfl.rr.com
Thanks. I was trying to use 3.2M. I dropped back to 3.1.1 and things seem
to be working for me.
"Darin Wright" <Darin_Wright@ca.ibm.com> wrote in message
news:dkgf4o$ltu$1@news.eclipse.org...
> Looks like your Eclipse install has some incompatbile plug-ins. The "class
> not found" has been added to the 3.2 development stream of Eclipse. Try a
> clean install.
>
> Darin
>
> "Dino Druding" <ddruding@cfl.rr.com> wrote in message
> news:dk6qfn$bd5$1@news.eclipse.org...
> >I am trying to stop at a breakpoint in a VERY simple java program (i.e.,
> > HelloWorld).
> > When the IDE switches to the Debug perspective, a tab appears with the
> > title
> > "HelloWorld.main(String[]) line:21".
> > The first line of text in the tab is "Source not found.", followed by a
> > button with the following text:
> > "Edit Source Lookup Path...". The directory containing HelloWorld.java
is
> > in the list of folders displayed in the dialog activated by clicking
that
> > button.
> > The project properties page indicates that there are not any project
> > specific settings.
> > Workspace Settings for the compiler have all the classfile generation
> > options selected.
> >
> > The error log contains the following:
> >
> > Message: Error logged from Debug Core:
> > Exception Stack Trace:
> > java.lang.NoClassDefFoundError:
> > org/eclipse/jdt/internal/debug/core/JavaDebugUtils
> > at
> >
org.eclipse.jdt.launching.sourcelookup.containers.JavaSource LookupParticipan
> > t.getSourceName(JavaSourceLookupParticipant.java:60)
> > at
> >
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupPart icipant.findSour
> > ceElements(AbstractSourceLookupParticipant.java:60)
> > at
> >
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor$SourceLooku
> > pQuery.run(AbstractSourceLookupDirector.java:126)
> > at
> >
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
> > :1044)
> > at org.eclipse.core.runtime.Platform.run(Platform.java:783)
> > at
> >
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor.doSourceLoo
> > kup(AbstractSourceLookupDirector.java:461)
> > at
> >
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor.getSourceEl
> > ement(AbstractSourceLookupDirector.java:711)
> > at
> >
org.eclipse.debug.core.sourcelookup.AbstractSourceLookupDire ctor.getSourceEl
> > ement(AbstractSourceLookupDirector.java:449)
> > at
> >
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.getCompila
> > tionUnit(JavaHotCodeReplaceManager.java:903)
> > at
> >
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.getAffecte
> > dFrame(JavaHotCodeReplaceManager.java:801)
> > at
> >
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.getAffecte
> > dFrames(JavaHotCodeReplaceManager.java:761)
> > at
> >
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.attemptPop
> > Frames(JavaHotCodeReplaceManager.java:711)
> > at
> >
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.doHotCodeR
> > eplace(JavaHotCodeReplaceManager.java:446)
> > at
> >
org.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplaceMa nager.access$0(J
> > avaHotCodeReplaceManager.java:416)
> >
> >
atorg.eclipse.jdt.internal.debug.core.hcr.JavaHotCodeReplace Manager$1.run(Ja
> > vaHotCodeReplaceManager.java:305)
> > at
org.eclipse.debug.core.DebugPlugin$AsynchJob.run(DebugPlugin .java:1027)
> > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
> >
> > Anyone out there seen this behavior before?
> >
> > Thanks,
> >
> > Dino
> >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04419 seconds