| Author |
How to debug a jar file in eclipse?...
|
Sandy Marar
Greenhorn
Joined: Dec 22, 2011
Posts: 16
|
|
|
I have a restfb jar which I am referring to in the classpath of my project.I want to debug the jar file in order to understand what is happening inside?...I have already got the source code of the jar file in hand.But I don't know how to attach it to the project and hence debug?..
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32830
|
|
I presume you have imported the .jar and put it in your classpath? Then you can set some breakpoints and use the debugging view rather than the ordinary Java™ view. Use three f-keys, I think f6 f7 and f8, for step-through, step-across and step-return.
Since this appears to be an Eclipse-related question, I shall move it to our IDEs forum.
|
 |
Sandy Marar
Greenhorn
Joined: Dec 22, 2011
Posts: 16
|
|
Thank you for moving it to the appropiate forum. Actually I know how to debug ,but where do I get the source code of the jar file attached so that run it down line by line.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8565
|
|
|
Project->properties->libraries->expand jar->source attachment->edit (to point to source location)
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: How to debug a jar file in eclipse?...
|
|
|