conditional breakpoint expressions always fail with ClassNotFoundException [message #1860571] |
Thu, 17 August 2023 18:04 |
David M. Karr Messages: 810 Registered: July 2009 |
Senior Member |
|
|
Using Eclipse 2023-06.
I'm debugging a SpringBoot service. I want to set a conditional breakpoint in the Catalina code, at "org.apache.catalina.util.LifecycleBase.setState(LifecycleState)".
I want it to break when the "state" parameter is not equal to LifecycleState.STARTING.
I've tried both
state != LifecycleState.STARTING
and
state != org.apache.catalina.LifecycleState.STARTING
It hits the breakpoint whenever this is called and gives me an error dialog, saying "Conditional breakpoint encountered runtime exception, Reason: java.lang.ClassNotFoundException".
I've tried other variations of this in other services. I know I've gotten this sort of thing to work before, but it seems to not work in this version of Eclipse.
|
|
|
Powered by
FUDForum. Page generated in 0.03301 seconds