[ 
https://issues.apache.org/jira/browse/QPID-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991153#comment-12991153
 ] 

Robbie Gemmell commented on QPID-3039:
--------------------------------------

Hi Rajika,

I have just tested this patch and found it resulted in no difference in the 
compiled class files, they were 100% binary identical. If I change the new 
'debuglevel' definition to be only "lines,source" then my compiled files do 
differ from normal and become smaller. This would explain why I have never had 
an issue remote debugging the default output and you have; your compiler 
obviously has different defaults than mine. Can I ask what JVM/JDK etc you are 
using?

The man page for javac (Sun JDK) and the manual page for the Ant javac task 
suggest that our existing javac usage should indeed result in inclusion of all 
debug information if using the Sun JDK, and always has in my case. However 
there is one area of ambiguity where it is mentioned that using javac -g 
without arguments will include all debug information, but then goes to says 
that it only generates lines and source debug info by default. My test clearly 
shows I am seeing the former behaviour, whereas you would seem to have seen the 
latter behaviour.

I have applied the patch, but will rename the JIRA to better indicate what is 
actually being changed.

Regards,
Robbie

> Enable debug info. in the Qpid build by default
> -----------------------------------------------
>
>                 Key: QPID-3039
>                 URL: https://issues.apache.org/jira/browse/QPID-3039
>             Project: Qpid
>          Issue Type: Wish
>            Reporter: Rajika Kumarasiri
>         Attachments: QPID-3039.patch
>
>
> It'd be good if we can turn on the debugging information of the source by 
> default. A production user must turn them off and re-compile if required. 
> Rajika

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to