Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse Remote Debugging Source Not Found
Eclipse Remote Debugging Source Not Found [message #94307] Fri, 12 August 2005 12:36 Go to next message
Chris Grant is currently offline Chris GrantFriend
Messages: 45
Registered: July 2009
Member
I am using Eclipses remote in remote debug mode. I can attach to my
application. The problem is that the debugger automatically stops in
areas where it cannot find source code for areas I do not even care about.
For example, I get a Class File Editor window that pops up as an editor
and says "Source not found, The jar file rt.jar has no source attachment."

How do I change the debugging settings so it does not stop here? It also
stops on lines that are yellow in the IDE because they are not 100%
compatible with Java 1.5 generics. I just want to get to my source, but
it takes many F8's to get there.

Thanks,

Chris
Re: Eclipse Remote Debugging Source Not Found [message #94352 is a reply to message #94307] Fri, 12 August 2005 14:23 Go to previous messageGo to next message
Kevin Barnes is currently offline Kevin BarnesFriend
Messages: 174
Registered: July 2009
Senior Member
Chris Grant wrote:
> I am using Eclipses remote in remote debug mode. I can attach to my
> application. The problem is that the debugger automatically stops in
> areas where it cannot find source code for areas I do not even care
> about. For example, I get a Class File Editor window that pops up as an
> editor and says "Source not found, The jar file rt.jar has no source
> attachment."
>
> How do I change the debugging settings so it does not stop here? It
> also stops on lines that are yellow in the IDE because they are not 100%
> compatible with Java 1.5 generics. I just want to get to my source, but
> it takes many F8's to get there.
>
> Thanks,
>
> Chris

The Eclipse Debugger ships with some Suspend Execution preferences
enabled by default. You can disable them in Preferences/Java/Debug. Many
people find that disabling the "Suspend execution on uncaugth
exceptions" is useful when debugging their applications.

Also, in the Debug View, the suspended thread should tell you why it
suspended. This may give you more insight into what is happening and
help you find the preference you need to change.

HTH
Kevin
Re: Eclipse Remote Debugging Source Not Found [message #94423 is a reply to message #94352] Fri, 12 August 2005 17:13 Go to previous messageGo to next message
Chris Grant is currently offline Chris GrantFriend
Messages: 45
Registered: July 2009
Member
Thanks Kevin for showing me that. I cheked off the options :

- Suspend extecution on uncaught exceptions
- Suspend exectution on compilation errors.

The app is still stopping though. Here is one thread

Thread[main] (suspended (execption ArrayIndexOutofBoundsException))
SignatureParser.current() line: not avaialable

plus other lines in the stack.

Then it it puts up the window: Class File Editor source Not Found.

The app does not crash though. Any other ideas?

Thanks,

Chris
Re: Eclipse Remote Debugging Source Not Found [message #94453 is a reply to message #94423] Fri, 12 August 2005 17:33 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
I would guess that you have an exception breakpoint either for
ArrayIndexOutofBounds or for one of its superclasses?

HTH
Darins

"Chris" <chris@transformsw.com> wrote in message
news:f8fd1fbfde8de0b826eb8a18182ce898$1@www.eclipse.org...
> Thanks Kevin for showing me that. I cheked off the options :
>
> - Suspend extecution on uncaught exceptions
> - Suspend exectution on compilation errors.
>
> The app is still stopping though. Here is one thread
>
> Thread[main] (suspended (execption ArrayIndexOutofBoundsException))
> SignatureParser.current() line: not avaialable
>
> plus other lines in the stack.
>
> Then it it puts up the window: Class File Editor source Not Found.
>
> The app does not crash though. Any other ideas?
>
> Thanks,
>
> Chris
>
Re: Eclipse Remote Debugging Source Not Found [message #94468 is a reply to message #94453] Fri, 12 August 2005 17:33 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Check the breakpoints view for these breakpoints

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:ddimdr$ne2$1@news.eclipse.org...
> I would guess that you have an exception breakpoint either for
> ArrayIndexOutofBounds or for one of its superclasses?
>
> HTH
> Darins
>
> "Chris" <chris@transformsw.com> wrote in message
> news:f8fd1fbfde8de0b826eb8a18182ce898$1@www.eclipse.org...
> > Thanks Kevin for showing me that. I cheked off the options :
> >
> > - Suspend extecution on uncaught exceptions
> > - Suspend exectution on compilation errors.
> >
> > The app is still stopping though. Here is one thread
> >
> > Thread[main] (suspended (execption ArrayIndexOutofBoundsException))
> > SignatureParser.current() line: not avaialable
> >
> > plus other lines in the stack.
> >
> > Then it it puts up the window: Class File Editor source Not Found.
> >
> > The app does not crash though. Any other ideas?
> >
> > Thanks,
> >
> > Chris
> >
>
>
Previous Topic:Browser window timeout while debugging
Next Topic:Removing Plugins
Goto Forum:
  


Current Time: Wed Jun 19 11:01:25 GMT 2019

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

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

Back to the top