Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » -debug to file in RC1
-debug to file in RC1 [message #252782] Tue, 15 June 2004 16:49 Go to next message
Lester Caine is currently offline Lester CaineFriend
Messages: 65
Registered: July 2009
Member
I've been asked to run

eclipse -debug xxx/.options > tracelog.txt

in a DOS box on W2k in order to debug a problem with a plugin, but while
it works in M7 ( I am informed ) when run in RC1, a second DOS window
opens and the debug information scrolls past without going to the .txt file.

How do I do this now in RC1?

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Re: -debug to file in RC1 [message #252802 is a reply to message #252782] Tue, 15 June 2004 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Try adding -consoleLog See if that helps.

Lester Caine wrote:

> I've been asked to run
>
> eclipse -debug xxx/.options > tracelog.txt
>
> in a DOS box on W2k in order to debug a problem with a plugin, but while
> it works in M7 ( I am informed ) when run in RC1, a second DOS window
> opens and the debug information scrolls past without going to the .txt
> file.
>
> How do I do this now in RC1?
>

--
Thanks, Rich Kulp

Re: -debug to file in RC1 [message #252822 is a reply to message #252802] Tue, 15 June 2004 17:57 Go to previous messageGo to next message
Lester Caine is currently offline Lester CaineFriend
Messages: 65
Registered: July 2009
Member
Rich Kulp wrote:

> Try adding -consoleLog See if that helps.

No change - still does not give me the debug log to a file.
Just checked back to M8 and have the same problem.

> Lester Caine wrote:
>
>> I've been asked to run
>>
>> eclipse -debug xxx/.options > tracelog.txt
>>
>> in a DOS box on W2k in order to debug a problem with a plugin, but
>> while it works in M7 ( I am informed ) when run in RC1, a second DOS
>> window opens and the debug information scrolls past without going to
>> the .txt file.
>>
>> How do I do this now in RC1?

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Re: -debug to file in RC1 [message #253092 is a reply to message #252822] Wed, 16 June 2004 12:46 Go to previous messageGo to next message
Lester Caine is currently offline Lester CaineFriend
Messages: 65
Registered: July 2009
Member
Lester Caine wrote:

> Rich Kulp wrote:
>
>> Try adding -consoleLog See if that helps.
>
> No change - still does not give me the debug log to a file.
> Just checked back to M8 and have the same problem.
>
>> Lester Caine wrote:
>>
>>> I've been asked to run
>>>
>>> eclipse -debug xxx/.options > tracelog.txt
>>>
>>> in a DOS box on W2k in order to debug a problem with a plugin, but
>>> while it works in M7 ( I am informed ) when run in RC1, a second DOS
>>> window opens and the debug information scrolls past without going to
>>> the .txt file.
>>>
>>> How do I do this now in RC1?

Come on guys and galls - is there no way of getting the debug
information into a file that I can forward to allow the developer to
sort out remaining Eclipse3 porting problems?

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Re: -debug to file in RC1 [message #253248 is a reply to message #253092] Wed, 16 June 2004 16:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Lester Caine" <lester@lsces.co.uk> wrote in message
news:capene$51d$1@eclipse.org...
> Lester Caine wrote:
>
> > Rich Kulp wrote:
> >
> >> Try adding -consoleLog See if that helps.
> >
> > No change - still does not give me the debug log to a file.
> > Just checked back to M8 and have the same problem.
> >
> >> Lester Caine wrote:
> >>
> >>> I've been asked to run
> >>>
> >>> eclipse -debug xxx/.options > tracelog.txt
> >>>
> >>> in a DOS box on W2k in order to debug a problem with a plugin, but
> >>> while it works in M7 ( I am informed ) when run in RC1, a second DOS
> >>> window opens and the debug information scrolls past without going to
> >>> the .txt file.
> >>>
> >>> How do I do this now in RC1?
>
> Come on guys and galls - is there no way of getting the debug
> information into a file that I can forward to allow the developer to
> sort out remaining Eclipse3 porting problems?

how about using the standard output/error redirection?

for example: eclipse.exe -debug >out.txt

>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
Re: -debug to file in RC1 [message #253260 is a reply to message #253248] Wed, 16 June 2004 16:42 Go to previous messageGo to next message
Lester Caine is currently offline Lester CaineFriend
Messages: 65
Registered: July 2009
Member
dorian birsan wrote:

> "Lester Caine" <lester@lsces.co.uk> wrote in message
> news:capene$51d$1@eclipse.org...
>
>>Lester Caine wrote:
>>
>>
>>>Rich Kulp wrote:
>>>
>>>
>>>>Try adding -consoleLog See if that helps.
>>>
>>>No change - still does not give me the debug log to a file.
>>>Just checked back to M8 and have the same problem.
>>>
>>>
>>>>Lester Caine wrote:
>>>>
>>>>
>>>>>I've been asked to run
>>>>>
>>>>>eclipse -debug xxx/.options > tracelog.txt
>>>>>
>>>>>in a DOS box on W2k in order to debug a problem with a plugin, but
>>>>>while it works in M7 ( I am informed ) when run in RC1, a second DOS
>>>>>window opens and the debug information scrolls past without going to
>>>>>the .txt file.
>>>>>
>>>>>How do I do this now in RC1?
>>
>>Come on guys and galls - is there no way of getting the debug
>>information into a file that I can forward to allow the developer to
>>sort out remaining Eclipse3 porting problems?
>
>
> how about using the standard output/error redirection?
>
> for example: eclipse.exe -debug >out.txt

Read the notes :)
That is EXACTLY what I am doing, but apparently from version M8 onwards,
out.txt is populated with a samll amount of java data, while all the
debug information which I need scrolls away in the SECOND DOS window
which was opened by the Java startup !

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Re: -debug to file in RC1 [message #253406 is a reply to message #253260] Wed, 16 June 2004 19:59 Go to previous messageGo to next message
Kevin Barnes is currently offline Kevin BarnesFriend
Messages: 174
Registered: July 2009
Senior Member
You'd probably have more luck w/o using the exe. Try "java -cp
startup.jar org.eclipse.core.launcher.Main > yourFile.txt"

I believe the exe starts a second process (javaw.exe) and you really
want to redirect output of that process, not the output of the exe.

good luck!

Kevin



Lester Caine wrote:
> dorian birsan wrote:
>
>> "Lester Caine" <lester@lsces.co.uk> wrote in message
>> news:capene$51d$1@eclipse.org...
>>
>>> Lester Caine wrote:
>>>
>>>
>>>> Rich Kulp wrote:
>>>>
>>>>
>>>>> Try adding -consoleLog See if that helps.
>>>>
>>>>
>>>> No change - still does not give me the debug log to a file.
>>>> Just checked back to M8 and have the same problem.
>>>>
>>>>
>>>>> Lester Caine wrote:
>>>>>
>>>>>
>>>>>> I've been asked to run
>>>>>>
>>>>>> eclipse -debug xxx/.options > tracelog.txt
>>>>>>
>>>>>> in a DOS box on W2k in order to debug a problem with a plugin, but
>>>>>> while it works in M7 ( I am informed ) when run in RC1, a second DOS
>>>>>> window opens and the debug information scrolls past without going to
>>>>>> the .txt file.
>>>>>>
>>>>>> How do I do this now in RC1?
>>>
>>>
>>> Come on guys and galls - is there no way of getting the debug
>>> information into a file that I can forward to allow the developer to
>>> sort out remaining Eclipse3 porting problems?
>>
>>
>>
>> how about using the standard output/error redirection?
>>
>> for example: eclipse.exe -debug >out.txt
>
>
> Read the notes :)
> That is EXACTLY what I am doing, but apparently from version M8 onwards,
> out.txt is populated with a samll amount of java data, while all the
> debug information which I need scrolls away in the SECOND DOS window
> which was opened by the Java startup !
>
Re: -debug to file in RC1 [message #253409 is a reply to message #253260] Wed, 16 June 2004 20:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dorian.birsan.net

"Lester Caine" <lester@lsces.co.uk> wrote in message
news:capsif$omf$1@eclipse.org...
> Read the notes :)

d'oh! bad eyes :-)

> That is EXACTLY what I am doing, but apparently from version M8 onwards,
> out.txt is populated with a samll amount of java data, while all the
> debug information which I need scrolls away in the SECOND DOS window
> which was opened by the Java startup !

Try bypassing eclipse.exe. Running from the eclipse directory, you can try:
java -cp startup.jar org.eclipse.core.launcher.Main -debug >out.txt

>
> --
> Lester Caine
> -----------------------------
> L.S.Caine Electronic Services
Re: -debug to file in RC1 [message #253417 is a reply to message #253406] Wed, 16 June 2004 20:40 Go to previous message
Lester Caine is currently offline Lester CaineFriend
Messages: 65
Registered: July 2009
Member
Kevin Barnes wrote:

> You'd probably have more luck w/o using the exe. Try "java -cp
> startup.jar org.eclipse.core.launcher.Main > yourFile.txt"
>
> I believe the exe starts a second process (javaw.exe) and you really
> want to redirect output of that process, not the output of the exe.

That is sounding promising, but I am informed that you used to be able
to debug without all this agro :)

Stuck into machine rebuilding (two sick windows machines) so it will
have to wait until the morning to try. TA

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
Previous Topic:Ways of specifying the Javadoc location for the PDE API in 3.0
Next Topic:[keybinding] Ctrl-A == SelectAll
Goto Forum:
  


Current Time: Wed Jul 03 10:23:39 GMT 2024

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

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

Back to the top