can't debug into source attachment [message #335471] |
Thu, 09 April 2009 17:01  |
Eclipse User |
|
|
|
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] |
Thu, 09 April 2009 20:35   |
Eclipse User |
|
|
|
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 10:11  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03844 seconds