I have a project in Java that I am stepping through and when I'm using external libraries e.g. jdom.jar
I end up hammering step over to get out on the "Class File Editor". I really don't care about whats in these libraries I'm just using them to process things for my own code.
Is there anyway to get around this popping up?
It's so frustrating hammering step over every time I accidentally step into a class file which I know has no source and is completely pointless me looking through.
image below:
Go to Project > Properties > Java Build Path > LibrariesSelect Source attachment and double click or Edit. Type path the source code file (External File…) and press OK. Show activity on this post. Show activity on this post.
There are two ways to debug a class file. The first way is to set the decompiler preference, and to realign the line number. The second way is to check the debug mode in the decompiler menu bar. When your Eclipse workspace is in debug perspective, the debug mode becomes the default.
Simple way-- Works for me :)
Select Attach Source->(External Location Radio Box)External File-> Select src.zip from java/jdk1.x.x.xx folder
and done!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With