Is there a way to set a breakpoint for when a particular Java class is loaded in IntelliJ IDEA?
In 2016 version it works by setting the breakpoint to the class definition line (public class YourClass ...
). You don't have to use explicit constructor, it stops when ... new YourClass();
is called.
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