[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Advanced Tracing Preferences

Well I've solved my own problem. It seems there's a bug (?) in the PDE
launcher.
I had set my Run-time Arguments is the PDE Preferences to -consoleLog and
the result was that the PDE launcher was concatenating the -debug directly
after it (ie, "-consoleLog-debug"). By the time it reached
InternalBootLoader.processCommandLine it came in as a single argument
(presumably it would have been split had there been an intervening space?)
and thus debugRequested was never turned on and the .options file was never
processed.
The PDE Preferences does respect trailing spaces, so you can work around
this by setting the arguments to "-consoleLog ".

   Stef

"Stef van Dijk" <Stef_van_Dijk@xxxxxxx> wrote in message
news:9kuqhd$hn8$1@xxxxxxxxxxxxxxxx
> I am also having problems with tracing. I've set debug to true for my
plugin
> in the .options file (which I can see in the PDE Preferences page), but
when
> I run the workbench (using Run-time Workbench with Tracing), sending
> isDebugging() to my plugin class still returns false. How do I convince it
> to return true?
>
>    Stef