user5177570
user5177570

Reputation:

Can I set breakpoints on package or file level in Intellij Idea?

I am not sure about the implementation used by a bunch of interfaces. Is it possible to set breakpoints on package/class files/external libraries in Idea?

Upvotes: 5

Views: 1783

Answers (1)

Avinash
Avinash

Reputation: 4279

Breakpoint cannot be applied on package or file level and the problem you are facing is very common when you are working on a Enterprise level software.

The workaround is put a breakpoint where you are confused first and hit Step into (F7 - Intellij), the debug control will be transferred to the class/method which is being used currently.

Upvotes: 1

Related Questions