[EMF Compare] Can't compile conditional breakpoint [message #662892] |
Fri, 01 April 2011 08:02  |
Eclipse User |
|
|
|
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 08:45  |
Eclipse User |
|
|
|
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...
|
|
|
Powered by
FUDForum. Page generated in 0.03360 seconds