Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » can't debug into source attachment
can't debug into source attachment [message #335471] Thu, 09 April 2009 21:01 Go to next message
Daniel Kranowski is currently offline Daniel KranowskiFriend
Messages: 7
Registered: July 2009
Junior Member
I want to use the debugger to step into the source attachment of a .jar
which is on my Java Build Path. I can view the code with F3 (jump to
declaration) but can't step into it in the debugger. When I try to step
into that method I get "Source not found" and a button to "Edit Source
Lookup Path". I clicked the button and added xyz.src.jar as an Archive,
but to no avail.

I've seen a lot of other posts on this topic but none have helped me so
far. Hope someone knows how to do this!
Re: can't debug into source attachment [message #335474 is a reply to message #335471] Fri, 10 April 2009 00:35 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Daniel Kranowski wrote:
> I want to use the debugger to step into the source attachment of a .jar
> which is on my Java Build Path. I can view the code with F3 (jump to
> declaration) but can't step into it in the debugger. When I try to step
> into that method I get "Source not found" and a button to "Edit Source
> Lookup Path". I clicked the button and added xyz.src.jar as an Archive,
> but to no avail.
>
> I've seen a lot of other posts on this topic but none have helped me so
> far. Hope someone knows how to do this!
>
>
Make sure that the classes in the jar file have been compiled with debug
enabled.
Re: can't debug into source attachment [message #335494 is a reply to message #335474] Fri, 10 April 2009 14:11 Go to previous message
Daniel Kranowski is currently offline Daniel KranowskiFriend
Messages: 7
Registered: July 2009
Junior Member
David Wegener wrote:

> Daniel Kranowski wrote:
>> I want to use the debugger to step into the source attachment of a .jar
>> which is on my Java Build Path. I can view the code with F3 (jump to
>> declaration) but can't step into it in the debugger. When I try to step
>> into that method I get "Source not found" and a button to "Edit Source
>> Lookup Path". I clicked the button and added xyz.src.jar as an Archive,
>> but to no avail.
>>
>> I've seen a lot of other posts on this topic but none have helped me so
>> far. Hope someone knows how to do this!
>>
>>
> Make sure that the classes in the jar file have been compiled with debug
> enabled.


Thank you very much! I cleaned away the old class files on disk and in my
ant build script for the .jar I added debug="on" to the <javac> target.
Now I can debug it.
Previous Topic:WebstartMain with OpenJDK on Linux
Next Topic:manual eclipse update failed
Goto Forum:
  


Current Time: Tue Dec 03 16:58:37 GMT 2024

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

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

Back to the top