Plugin Tracing options not picked up by Eclipse [message #415392] |
Tue, 15 March 2005 21:17 |
Eclipse User |
|
|
|
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 |
Jeff McAffer 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
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04007 seconds