Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Plugin Tracing options not picked up by Eclipse
Plugin Tracing options not picked up by Eclipse [message #415392] Tue, 15 March 2005 21:17 Go to next message
Eclipse UserFriend
Originally posted by: pbeliavs.ca.ibm.com

Hello,

I'm trying to set up tracing options for my RCP application. I followed
the Eclipse guidelines and put a .options file in each plugin folder.
However, the problem is that when running the application, these trace
flags are not picked up. I am running my application with the -debug flag
in the program arguments, but I have noticed in the Tracing options tab of
the Run dialog, that my plugins, which contain a .options file are not
shown in the list of plugins with tracing options available. A work
around I have found is to place all of my trace flags in one large
options file and place it under my workspace folder. This does seem to
work, but the trace options are still not shown in the Run dialog. I have
searched the Eclipse.org site for someone who has experienced a similar
problem, but was unable to find anything. I would like to make the
framework pick up the .options file that exists in each plugin since it
would make the design cleaner. Is there an Eclipse RCP framework
preference whether to have one large .options file or multiple ones at a
plugin level. If the later is the preference, as I found in the associated
Eclipse help page, I would like to know what I am doing incorrectly. I
would greatly appreciate any sugestions that you may have.

Thanks in advance.

Paul
Re: Plugin Tracing options not picked up by Eclipse [message #417809 is a reply to message #415392] Tue, 22 March 2005 16:49 Go to previous messageGo to next message
Jeff McAffer is currently offline Jeff McAfferFriend
Messages: 104
Registered: July 2009
Senior Member
The .options files in the plugins are just templates. The plugin
developer's way of communicating to you (and PDE) what options there are.
The normal mode of operation is to gather together the options you need into
one file and the spec the location of that file as an argument to -debug.

As for why they are not showing up in the Run dialog, that is strange.
Suggest you verify your configuratoin (e.g., try with someone else's
machine) and if it is still not working enter a bug report in PDE UI with
steps to recreate the problem.

Jeff

"Paul Beliavsky" <pbeliavs@ca.ibm.com> wrote in message
news:d17jd5$m5f$1@www.eclipse.org...
> Hello,
>
> I'm trying to set up tracing options for my RCP application. I followed
> the Eclipse guidelines and put a .options file in each plugin folder.
> However, the problem is that when running the application, these trace
> flags are not picked up. I am running my application with the -debug flag
> in the program arguments, but I have noticed in the Tracing options tab of
> the Run dialog, that my plugins, which contain a .options file are not
> shown in the list of plugins with tracing options available. A work
> around I have found is to place all of my trace flags in one large
> options file and place it under my workspace folder. This does seem to
> work, but the trace options are still not shown in the Run dialog. I have
> searched the Eclipse.org site for someone who has experienced a similar
> problem, but was unable to find anything. I would like to make the
> framework pick up the .options file that exists in each plugin since it
> would make the design cleaner. Is there an Eclipse RCP framework
> preference whether to have one large .options file or multiple ones at a
> plugin level. If the later is the preference, as I found in the associated
> Eclipse help page, I would like to know what I am doing incorrectly. I
> would greatly appreciate any sugestions that you may have.
>
> Thanks in advance.
>
> Paul
>
Re: Plugin Tracing options not picked up by Eclipse [message #1723488 is a reply to message #417809] Tue, 16 February 2016 06:53 Go to previous message
Steve Bolton is currently offline Steve BoltonFriend
Messages: 2
Registered: February 2016
Junior Member
Use the org.eclipse.ui.trace.traceComponents extension point.

http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.pde.doc.user%2Freference%2Fextension-points%2Forg_eclipse_ui_trace_traceComponents.html
Previous Topic:Error with SWT.MOZILLA browser on Windows
Next Topic:Re-creating CoolBar
Goto Forum:
  


Current Time: Thu Apr 25 20:49:27 GMT 2024

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

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

Back to the top