Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How can I fix conditional breakpoint errors?
How can I fix conditional breakpoint errors? [message #323820] Wed, 09 January 2008 09:49 Go to next message
Eclipse UserFriend
Hi,

When I set a conditional breakpoint in Eclipse platform code, I get the
following error message quite often:

"Conditional breakpoint has compilation error(s). Reason: The type
org.eclipse.xyz.abc cannot be resolved. It is indirectly referenced from
required .class files"

What can I do to avoid this error? Where do I have to import the class
that is mentioned in the error message?

Regards,
Niklas
Re: How can I fix conditional breakpoint errors? [message #323844 is a reply to message #323820] Thu, 10 January 2008 01:24 Go to previous messageGo to next message
Eclipse UserFriend
Try making sure you have the eclipse plugins that contain the code you
are setting a breakpoint in as plugin dependencies of the project you
are debugging. The "indirectly referenced from required .class files"
is a clue that the plugin dependencies are not right.

Niklas Deutschmann wrote:
> Hi,
>
> When I set a conditional breakpoint in Eclipse platform code, I get the
> following error message quite often:
>
> "Conditional breakpoint has compilation error(s). Reason: The type
> org.eclipse.xyz.abc cannot be resolved. It is indirectly referenced from
> required .class files"
>
> What can I do to avoid this error? Where do I have to import the class
> that is mentioned in the error message?
>
> Regards,
> Niklas
Re: How can I fix conditional breakpoint errors? [message #323847 is a reply to message #323844] Thu, 10 January 2008 03:22 Go to previous messageGo to next message
Eclipse UserFriend
Hi Francis,

Francis Upton schrieb:
> Try making sure you have the eclipse plugins that contain the code you
> are setting a breakpoint in as plugin dependencies of the project you
> are debugging. The "indirectly referenced from required .class files"
> is a clue that the plugin dependencies are not right.

I have a breakpoint in org.eclipse.ui.internal.handlers.HandlerAuthority
This class is located in the org.eclipse.ui.workbench plugin. I added
this plugin to the dependencies of one of the plugins I'm working on,
but I still get the same error message.
The error message is: org.eclipse.core.expressions.IEvaluationContext
cannot be resolved. I also have org.eclipse.core.expressions in my
dependencies.

Which dependencies am I still missing here?

Niklas
Re: How can I fix conditional breakpoint errors? [message #323850 is a reply to message #323847] Thu, 10 January 2008 06:38 Go to previous messageGo to next message
Eclipse UserFriend
You need the plugins that depend on that. They are easy to find. Go to
the manifest for the com.eclipe.ui.workbench plugin manifest.mf and add
the plugins that it depends on.

The plugin you are missing is org.eclipse.core.expressions. But you
should add all of the dependencies, there are not that many.

Niklas Deutschmann wrote:
> Hi Francis,
>
> Francis Upton schrieb:
>> Try making sure you have the eclipse plugins that contain the code you
>> are setting a breakpoint in as plugin dependencies of the project you
>> are debugging. The "indirectly referenced from required .class files"
>> is a clue that the plugin dependencies are not right.
>
> I have a breakpoint in org.eclipse.ui.internal.handlers.HandlerAuthority
> This class is located in the org.eclipse.ui.workbench plugin. I added
> this plugin to the dependencies of one of the plugins I'm working on,
> but I still get the same error message.
> The error message is: org.eclipse.core.expressions.IEvaluationContext
> cannot be resolved. I also have org.eclipse.core.expressions in my
> dependencies.
>
> Which dependencies am I still missing here?
>
> Niklas
>
Re: How can I fix conditional breakpoint errors? [message #323890 is a reply to message #323850] Fri, 11 January 2008 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Hi Francis,

Francis Upton schrieb:
> You need the plugins that depend on that. They are easy to find. Go to
> the manifest for the com.eclipe.ui.workbench plugin manifest.mf and add
> the plugins that it depends on.

I added all the dependencies of org.eclipse.ui.workbench to my own
plugin - no success. org.eclipse.core.expressions is a dependency both
of org.eclipse.ui.workbench and my own plugin.

Niklas
Re: How can I fix conditional breakpoint errors? [message #323904 is a reply to message #323890] Fri, 11 January 2008 14:16 Go to previous message
Eclipse UserFriend
The only other thing I can suggest is restart everything clean and do a
clean build. If that still does not work, I'm not sure what the problem
could be. Sorry.

Also, make sure you are working with your plugin that the code where you
are setting the breakpoint actually resides. That is where it seems to
check.

Niklas Deutschmann wrote:
> Hi Francis,
>
> Francis Upton schrieb:
>> You need the plugins that depend on that. They are easy to find. Go
>> to the manifest for the com.eclipe.ui.workbench plugin manifest.mf and
>> add the plugins that it depends on.
>
> I added all the dependencies of org.eclipse.ui.workbench to my own
> plugin - no success. org.eclipse.core.expressions is a dependency both
> of org.eclipse.ui.workbench and my own plugin.
>
> Niklas
Previous Topic:How to programmatically select the existing projects into workspace ?
Next Topic:existing versions of plugin causing build conflicts
Goto Forum:
  


Current Time: Fri Jul 18 02:12:26 EDT 2025

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

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

Back to the top