# HG changeset patch # User aph # Date 1239980191 -3600 # Node ID 98fc22703cbc404544fda2b8e340f36a098b39eb # Parent a8134c4ee2cf451cf9b5e1609f39d83ecd53acc5 6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair Contributed-by: Andrew Haley diff -r a8134c4ee2cf -r 98fc22703cbc langtools/make/Makefile --- a/langtools/make/Makefile Wed Jul 05 16:51:35 2017 +0200 +++ b/langtools/make/Makefile Fri Apr 17 15:56:31 2009 +0100 @@ -105,6 +105,14 @@ endif endif +ifeq ($(DEBUG_CLASSFILES), true) + ANT_OPTIONS += -Djavac.debug=true + ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars +else + ANT_OPTIONS += -Djavac.debug=false + ANT_OPTIONS += -Djavac.debuglevel= +endif + # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) # and the somewhat misnamed CLASS_VERSION (-target NN) ifdef TARGET_CLASS_VERSION