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

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);

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: 1636
Registered: July 2009
Senior Member
When running Eclipse with "-debug yourOptionsFile" the following options control the logging you are seeing:

See and
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: Mon Oct 22 14:18:54 GMT 2018

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

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

Back to the top