From 2b6dba6c9584131a9a6e9cd5b22223e88ebbbb55 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Fri, 17 Apr 2009 15:56:31 +0100 Subject: [PATCH] 6829575: 100028: Debug information is incomplete or missing Enable debugging in many places Reviewed-by: ohair --- langtools/make/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/langtools/make/Makefile b/langtools/make/Makefile index 2f382a12fba..f4787c96416 100644 --- a/langtools/make/Makefile +++ b/langtools/make/Makefile @@ -105,6 +105,14 @@ else 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