Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMF Compare] Can't compile conditional breakpoint
[EMF Compare] Can't compile conditional breakpoint [message #662892] Fri, 01 April 2011 12:02 Go to next message
leonard.krpan is currently offline leonard.krpanFriend
Messages: 20
Registered: March 2011
Junior Member
Hello,

I'm debugging the EMF Compare GenericMatchEngine in order to find the code where the contents of an unmatched element such as a package are not taken into the stilltoFindFromModel instance variable (see my post about ignoring children for the reason). I tried setting up a conditional breakpoint on line 1598 where recursiveMappings are defined for when current1 is a certain package. Both that and true==true don't work and a window pops up saying:

Conditional breakpoint has compilation errors. Reason: the type org.eclipse.emf.compare.FactoryException cannot be resolved. It is indirectly referenced from class files

Well the type is imported and used in the code so.
This happens to be my first time using conditional breakpoints so maybe I'm just missing something...
Re: [EMF Compare] Can't compile conditional breakpoint [message #662908 is a reply to message #662892] Fri, 01 April 2011 12:45 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Are you really really sure the type is imported.

This tends to be an area where JDT always turns out to be right in the
end. Java can sometimes use a type even though it isn't imported
provided the type is only used in temporary variables. As soon as a more
substantial use is needed your message arises.

Check the import, check the manifest import, check the source 'export',
rebuild, clean, restart, ...

Regards

Ed Willink

On 01/04/2011 13:02, lk_muc wrote:
> Hello,
>
> I'm debugging the EMF Compare GenericMatchEngine in order to find the
> code where the contents of an unmatched element such as a package are
> not taken into the stilltoFindFromModel instance variable (see my post
> about ignoring children for the reason). I tried setting up a
> conditional breakpoint on line 1598 where recursiveMappings are
> defined for when current1 is a certain package. Both that and
> true==true don't work and a window pops up saying:
>
> Conditional breakpoint has compilation errors. Reason: the type
> org.eclipse.emf.compare.FactoryException cannot be resolved. It is
> indirectly referenced from class files
>
> Well the type is imported and used in the code so.
> This happens to be my first time using conditional breakpoints so
> maybe I'm just missing something...
Previous Topic:[Debugging Ecore model loading] code execution hangs in debug mode
Next Topic:[emf compare]
Goto Forum:
  


Current Time: Fri Apr 26 12:37:01 GMT 2024

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

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

Back to the top