Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Debugging plugin does not work!
Debugging plugin does not work! [message #148940] Wed, 17 March 2004 02:20 Go to next message
Eclipse UserFriend
The plugin depends on a separate jar file so when I run the project as a
"Run Time Workbench" it cannot find this jar and does not run.

How do I add jar files to the classpath such that debugging the plugin will
work??

Am using Eclipse3M7.

Howard
Re: Debugging plugin does not work! [message #148979 is a reply to message #148940] Wed, 17 March 2004 09:05 Go to previous messageGo to next message
Eclipse UserFriend
You problem description is vague. What are you trying to debug - a plugin?
What error messages appear?

Darin

"Howard Price" <howardjprice@hotmail.com> wrote in message
news:c38tvj$uhg$1@eclipse.org...
> The plugin depends on a separate jar file so when I run the project as a
> "Run Time Workbench" it cannot find this jar and does not run.
>
> How do I add jar files to the classpath such that debugging the plugin
will
> work??
>
> Am using Eclipse3M7.
>
> Howard
>
>
Re: Debugging plugin does not work! [message #149002 is a reply to message #148979] Wed, 17 March 2004 10:54 Go to previous messageGo to next message
Eclipse UserFriend
I am writing a new plugin and this plugin depends on xerces; I wish to
debug the plugin - so under Eclipse I select "Debug" as "Run Time
Workbench". This fires up a new instance of Eclipse that loads the plugin so
that I can debug it 'in-situ'.

If I comment out the code that uses the xerces library it works and I can
debug it as events are fired etc. - once I try and add the xml parsing code
again the Eclipse that is fired up cannot find the xerces jar file and hence
fails to load the plugin.

My question is how to update my Project to say "when you fire up the new
Eclipse under the debugger ensure that jar file X is on the classpath".
Under the debugger the file for the View shows the import statement for
xerces with the red circle and 'X' against it showing that it was not able
to find the jar file (only whilst debugging - xerces is added to the project
for building purposes)

(and I have tried RTFM - but this depends on finding the right help file to
read; which I did not find)

Thanks for replying

Howard


"Darin Wright" <Darin_Wright@ca.ibm.com> wrote in message
news:c39ltk$t18$1@eclipse.org...
> You problem description is vague. What are you trying to debug - a plugin?
> What error messages appear?
>
> Darin
>
> "Howard Price" <howardjprice@hotmail.com> wrote in message
> news:c38tvj$uhg$1@eclipse.org...
> > The plugin depends on a separate jar file so when I run the project as a
> > "Run Time Workbench" it cannot find this jar and does not run.
> >
> > How do I add jar files to the classpath such that debugging the plugin
> will
> > work??
> >
> > Am using Eclipse3M7.
> >
> > Howard
> >
> >
>
>
Re: Debugging plugin does not work! [message #149577 is a reply to message #149002] Wed, 17 March 2004 23:58 Go to previous message
Eclipse UserFriend
Try to copy xerces.jar file into your project folder (where .project and
plugin.xml reside) and add xerces.jar into 'Run-time libraries' section of
plugin.xml.
Not sure if this is the best way to do it, but worked for me.


"Howard Price" <howardjprice@hotmail.com> wrote in message
news:c39s3t$5t5$1@eclipse.org...
> I am writing a new plugin and this plugin depends on xerces; I wish to
> debug the plugin - so under Eclipse I select "Debug" as "Run Time
> Workbench". This fires up a new instance of Eclipse that loads the plugin
so
> that I can debug it 'in-situ'.
>
> If I comment out the code that uses the xerces library it works and I can
> debug it as events are fired etc. - once I try and add the xml parsing
code
> again the Eclipse that is fired up cannot find the xerces jar file and
hence
> fails to load the plugin.
>
> My question is how to update my Project to say "when you fire up the new
> Eclipse under the debugger ensure that jar file X is on the classpath".
> Under the debugger the file for the View shows the import statement for
> xerces with the red circle and 'X' against it showing that it was not able
> to find the jar file (only whilst debugging - xerces is added to the
project
> for building purposes)
>
> (and I have tried RTFM - but this depends on finding the right help file
to
> read; which I did not find)
>
> Thanks for replying
>
> Howard
>
>
> "Darin Wright" <Darin_Wright@ca.ibm.com> wrote in message
> news:c39ltk$t18$1@eclipse.org...
> > You problem description is vague. What are you trying to debug - a
plugin?
> > What error messages appear?
> >
> > Darin
> >
> > "Howard Price" <howardjprice@hotmail.com> wrote in message
> > news:c38tvj$uhg$1@eclipse.org...
> > > The plugin depends on a separate jar file so when I run the project as
a
> > > "Run Time Workbench" it cannot find this jar and does not run.
> > >
> > > How do I add jar files to the classpath such that debugging the plugin
> > will
> > > work??
> > >
> > > Am using Eclipse3M7.
> > >
> > > Howard
> > >
> > >
> >
> >
>
>
Previous Topic:Java 1.5.0 Exceptions, Ant, and building outside of Eclipse
Next Topic:Seeing Tabs in the Java File
Goto Forum:
  


Current Time: Wed Jul 16 19:06:01 EDT 2025

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

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

Back to the top