Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » turning on tracing?
turning on tracing? [message #310045] Thu, 16 November 2006 21:24 Go to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

I'm trying to turn on tracing in Eclipse, as described in
http://wiki.eclipse.org/index.php/FAQ_How_do_I_use_the_platf orm_debug_tracing_facility%3F.

My plug-in includes trace output, and when I run in the debugger I can turn
on my tracing with the launch dialog and it all works great.

But I can't figure out how to get it to work outside of the debugger. The
instructions say I should create a .options file, containing the appropriate
key/value, and put it in the same directory as eclipse.exe; and then I
should launch eclipse with "-debug" on the command line.

Is that all it takes? Where should I expect to see the output show up? I'm
not seeing any output, and I know that my code getting called, so I must be
doing something wrong.

Thanks!
Re: turning on tracing? [message #310052 is a reply to message #310045] Fri, 17 November 2006 08:37 Go to previous message
Eclipse UserFriend
In theory that should work: -debug command line option eclipse should
just look for a .options file in the same directory as the eclipse.exe.
Then it spits the trace output to the command line.

You can remove the guesswork and save a lot of different settings if you
specify the file to the -debug command line.

Check out
http://wiki.eclipse.org/index.php/Platform_Command_Framework #Tracing_Option
for an example.

It might be that you must make sure you are using java.exe instead of
javaw.exe if you are on windows (no console).

Later,
PW
Previous Topic:Eclipse not retaining maximised window position as of 3.3M3?
Next Topic:Default character encoding for product
Goto Forum:
  


Current Time: Mon Nov 10 08:26:04 EST 2025

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

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

Back to the top