Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » conditional breakpoint expressions always fail with ClassNotFoundException
conditional breakpoint expressions always fail with ClassNotFoundException [message #1860571] Thu, 17 August 2023 18:04
David M. Karr is currently offline David M. KarrFriend
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.
Previous Topic:Purpose of org.eclipse.jdt.core.compiler.problem.fatalOptionalError option
Next Topic:Problem with Externalize string dilaog
Goto Forum:
  


Current Time: Sat Jan 25 23:36:07 GMT 2025

Powered by FUDForum. Page generated in 0.03301 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top