Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Diagnosing error due to "missing Java project context" upon hitting conditional breakpoint
Diagnosing error due to "missing Java project context" upon hitting conditional breakpoint [message #1798377] Fri, 16 November 2018 07:40 Go to next message
Eclipse UserFriend
I'm using 2018-09 and have imported a Maven project using m2e. The project contains a Java application that I have launched using Debug As -> Java Application. I've configured a conditional breakpoint in one of the project's dependencies. When it is hit, an error occurs with the reason "Unable to compile conditional breakpoint - missing Java project context".

I think the error is probably due to a bug in JDT or M2E but I'm not sufficiently familiar with either project to track it down. I'm hoping that someone here can give me some pointers please. I have things set up so that I can debug the workspace where the error is occurring. I've been stepping through JavaLineBreakpoint where it tries to resolve the project and have seen that it cannot do so, but that's about as far as I've got.

One other thing that I've noticed that may be relevant is that the tab that opens to show the source of the file where the breakpoint is set is a .java file with a hollow J. The breakpoint also doesn't appear in the gutter. When I opened the class to set the breakpoint, the tab that opened was for a .class file with the binary icon and a solid J in the top-left corner.
Re: Diagnosing error due to "missing Java project context" upon hitting conditional breakp [message #1798504 is a reply to message #1798377] Mon, 19 November 2018 22:51 Go to previous message
Eclipse UserFriend
Being handled as part of https://bugs.eclipse.org/bugs/show_bug.cgi?id=541263
Previous Topic:UI freeze Problem
Next Topic: is there Environment variables for 'Builders' when debug/Release build?
Goto Forum:
  


Current Time: Tue Apr 29 22:02:00 EDT 2025

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

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

Back to the top