ecemm
ecemm

Reputation: 1

Avoiding java.util classes while debugging

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?

Upvotes: 0

Views: 73

Answers (1)

user15793316
user15793316

Reputation:

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...

Upvotes: 1

Related Questions