eclipse-jdt / eclipse-jdt/eclipse.jdt.debug
Cannot set conditional debug breakpoint, watching or inspecting expressions in external maven / gradle sources
- Dominant language
- Java
- Stars
- 23
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 13
Description
I'm having the same problem described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=542089 with Eclipse IDE 20250306-0812 (4.35.0) when debugging an external code (method `org.springframework.context.annotation.ComponentScanAnnotationParser.parse(AnnotationAttributes, String)` located in `%USERPROFILE%\.gradle\caches\modules-2\files-2.1\org.springframework\spring-context\6.2.2\4fd127d020a521693cd10f32732fbd053042f933\spring-context-6.2.2-sources.jar`) running in Wildfly debug mode (I'm using JBOSS Tools ).
Variables defined in external maven / gradle sources display when:
a) Watched, gives no results (blank):

b) Inspected, results in the following message:
> Unable to evaluate the selected expression:
>
> To perform an evaluation, an expression must be compiled in the context of a Java project's build path. The current execution context is not associated with a Java project in the workspace.

c) Have a conditional breakpoint set, results in the the following message:
> Conditional breakpoint has compilation error(s).
>
> Reason:
> Unable to compile conditional breakpoint - missing Java project context.


Am I missing something in order to be able to fully debug external sources running in Java application servers?
Contributor guide
Assessment
This issue has not been assessed yet.