|
|
Re: enable and set debug options [message #22796 is a reply to message #22619] |
Sun, 04 May 2008 12:26 |
Andrei Sobolev Messages: 72 Registered: July 2009 |
Member |
|
|
Hi Chuck,
You also could specify this options from "Run Configurations" dialog -> Then select your launch shortcut -> Tracing tab
and set required options.
Best regards,
Andrei Sobolev.
> I'm not sure why it wasn't working before - but I believe it is working now.
>
> Chuck
>
> "Chuck Doucette" <cdoucette@vaultus.com> wrote in message
> news:fvco3p$nai$1@build.eclipse.org...
>> I would like to debug certain behavior, starting with completion.
>> I found conditional debugging statements in the DLTK source code referring
>> to these constants:
>>
>> public static final boolean DEBUG = Boolean.valueOf(
>> Platform.getDebugOption("org.eclipse.dltk.core/debug")).booleanValue();
>> //$NON-NLS-1$
>>
>> public static final boolean DEBUG_COMPLETION = Boolean.valueOf(
>> Platform.getDebugOption("org.eclipse.dltk.core/debugCompletion ")).booleanValue();
>> //$NON-NLS-1$
>>
>> I googled Eclipse getDebugOption and found this page:
>>
>> http://wiki.eclipse.org/FAQ_How_do_I_use_the_platform_debug_ tracing_facility%3F
>>
>> I created a .options file, and put it into C:\java\eclipse, and it has
>> this contents:
>>
>> org.eclipse.dltk.core/debug=true
>> org.eclipse.dltk.core/debugCompletion=true
>>
>> I invoked Eclipse with the -debug flag and it said this:
>>
>> Debug options:
>> file:/C:/Java/eclipse/.options loaded
>>
>> When I attempt to debug the line which sets DEBUG_SELECTION, it didn't
>> step into getDebugOptions, it simply stepped into Boolean.valueOf() and
>> said the string value was null.
>>
>> So, how do I set debug options?
>>
>> Thanks,
>> Chuck
>>
>>
>
>
|
|
|
Re: enable and set debug options [message #22837 is a reply to message #22796] |
Sun, 04 May 2008 15:35 |
Charles Doucette Messages: 125 Registered: July 2009 |
Senior Member |
|
|
That didn't work for me since none of the DLTK plugins were listed in the
tracing tab (and therefore couldn't be selected and enabled).
Chuck
"Andrei Sobolev" <haiodo@xored.com> wrote in message
news:fvka1e$8td$2@build.eclipse.org...
> Hi Chuck,
>
> You also could specify this options from "Run Configurations" dialog ->
> Then select your launch shortcut -> Tracing tab
> and set required options.
>
> Best regards,
> Andrei Sobolev.
>> I'm not sure why it wasn't working before - but I believe it is working
>> now.
>>
>> Chuck
>>
>> "Chuck Doucette" <cdoucette@vaultus.com> wrote in message
>> news:fvco3p$nai$1@build.eclipse.org...
>>> I would like to debug certain behavior, starting with completion.
>>> I found conditional debugging statements in the DLTK source code
>>> referring
>>> to these constants:
>>>
>>> public static final boolean DEBUG = Boolean.valueOf(
>>> Platform.getDebugOption("org.eclipse.dltk.core/debug")).booleanValue();
>>> //$NON-NLS-1$
>>>
>>> public static final boolean DEBUG_COMPLETION = Boolean.valueOf(
>>> Platform.getDebugOption("org.eclipse.dltk.core/debugCompletion ")).booleanValue();
>>> //$NON-NLS-1$
>>>
>>> I googled Eclipse getDebugOption and found this page:
>>>
>>> http://wiki.eclipse.org/FAQ_How_do_I_use_the_platform_debug_ tracing_facility%3F
>>>
>>> I created a .options file, and put it into C:\java\eclipse, and it has
>>> this contents:
>>>
>>> org.eclipse.dltk.core/debug=true
>>> org.eclipse.dltk.core/debugCompletion=true
>>>
>>> I invoked Eclipse with the -debug flag and it said this:
>>>
>>> Debug options:
>>> file:/C:/Java/eclipse/.options loaded
>>>
>>> When I attempt to debug the line which sets DEBUG_SELECTION, it didn't
>>> step into getDebugOptions, it simply stepped into Boolean.valueOf() and
>>> said the string value was null.
>>>
>>> So, how do I set debug options?
>>>
>>> Thanks,
>>> Chuck
>>>
>>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.09043 seconds