Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse DEBUG Logs(How to enable Debug Logs from JDT in Eclipse)
Eclipse DEBUG Logs [message #1754186] Wed, 15 February 2017 07:17 Go to next message
Suresh P is currently offline Suresh PFriend
Messages: 27
Registered: May 2013
Junior Member
hi,

How to enable DEBUG logs in Eclipse and where to view the log contents.

For example, in org.eclipse.jdt.internal.core.builder.JavaBuilder class, there are lot of LOG statements which is printed if the variable "DEBUG" is true as shown below.

if (DEBUG)
        {
          System.out.println("JavaBuilder: New location: " + newBinaryLocations[n] + "\n!= old location: " + oldBinaryLocations[o]);
          printLocations(newBinaryLocations, oldBinaryLocations);
        }


Thanks
Re: Eclipse DEBUG Logs [message #1754998 is a reply to message #1754186] Sat, 25 February 2017 17:51 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1608
Registered: July 2009
Senior Member
When running Eclipse with "-debug yourOptionsFile" the following options control the logging you are seeing:
org.eclipse.jdt.core/debug
org.eclipse.jdt.core/debug/builder


See http://help.eclipse.org/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html and http://help.eclipse.org/topic/org.eclipse.pde.doc.user/guide/tools/launchers/tracing.htm
Previous Topic:How to install JDT on platform manually
Next Topic:Java Type mismatch error on upgrade Eclipse Mars to Eclipse Neon
Goto Forum:
  


Current Time: Fri Jul 20 10:30:26 GMT 2018

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

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

Back to the top