Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » debugger cannot locate source file
debugger cannot locate source file [message #218141] Mon, 31 October 2005 23:21 Go to next message
Eclipse UserFriend
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 #218353 is a reply to message #218141] Fri, 04 November 2005 15:08 Go to previous messageGo to next message
Eclipse UserFriend
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
>
>
>
Re: debugger cannot locate source file [message #218375 is a reply to message #218353] Sat, 05 November 2005 14:10 Go to previous message
Eclipse UserFriend
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
> >
> >
> >
>
>
Previous Topic:Trouble adding a JavaLineBreakpoint programmatically
Next Topic:Strange phenomenon with error ticks in package explorer
Goto Forum:
  


Current Time: Wed May 07 11:28:13 EDT 2025

Powered by FUDForum. Page generated in 0.04419 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top