0

While I am debugging and hit "Step into" at a point where I use an ArrayList, HashMap, or something like that, I go into the ArrayList.java class and have to go over so many iterations that I am not interested in. Aside from using "Step over", is there a way I can avoid java.util classes while I am debugging?

2
  • 1
    What IDE are you using? Commented May 7, 2021 at 15:57
  • I am using Eclipse Commented May 8, 2021 at 16:56

1 Answer 1

1

If using Eclipse, the Step Filtering Options can be adjusted as needed:

Window - Preferences - Java - Debug - Step Filtering

There the classes or packages can be set, that should not be stepped into.

Step filters are commonly used to filter out types that you do not wish to see or step through while debugging.

I think IntelliJ IDEA has something similar...

Sign up to request clarification or add additional context in comments.

1 Comment

Yes that was exactly what I was looking for, thank you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.