Am I missing something? I'm delighted that all that code is there showing how the generic collections work etc. However when I want to simply walk my code I'm forever finding myself going deeper into Java's own library code than I care to.
Is it possible to simply disable that when stepping code - I want to treat all of that stuff as a Black Box, code stepping is just for stuff I've written.
And you know what, now I've got that capability, is it possible to wrap up my own code that way too so that I can step just the bits I'm most interested in?
And if i can't easily in netbeans, is it possible in eclipse?
thanks
In the Java Editor, within the current line of execution, place the cursor on the name of a method that you would like to step into. Click the Step into Selection action in the Run menu or Java editor context menu, or press the Ctrl-F5 key. Execution resumes until the selected method is invoked.
Actually, the easiest way is to go to Window -> Debugging -> Sources and check off the files that you want to debug and step in to. Most likely you just need to UNcheck the other sources in your project.
But that's the easiest way to do it.
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