Hi,
I'm trying to debug the Java code in a Gauge project, but debug symbols are missing. As far as I can see in gauge-java.go, the only possible parameterization of the args variable is related to build directories.
It would help if you could either:
- Add support for a
gauge_javac_args variable to the env/java.properties.
- Set the
-g flag to javac when the GAUGE_DEBUG_OPTS environment variable is present.
Expected behavior
Debug symbols are included during Java code compilation.
Actual behavior
Debug symbols are not included during Java code compilation.
Steps to reproduce
- Execute
gauge run on any Java project.
- Use
javap -v on any of the generated classes to check that LocalVariableTable is missing or empty on every method.
Gauge version
I'm using the Debian repository.
Gauge version: 1.0.1
Commit Hash: da2676b
Plugins
-------
html-report (4.0.5)
java (0.6.8)
screenshot (0.0.1)
Thank you!
Hi,
I'm trying to debug the Java code in a Gauge project, but debug symbols are missing. As far as I can see in gauge-java.go, the only possible parameterization of the
argsvariable is related to build directories.It would help if you could either:
gauge_javac_argsvariable to theenv/java.properties.-gflag tojavacwhen theGAUGE_DEBUG_OPTSenvironment variable is present.Expected behavior
Debug symbols are included during Java code compilation.
Actual behavior
Debug symbols are not included during Java code compilation.
Steps to reproduce
gauge runon any Java project.javap -von any of the generated classes to check thatLocalVariableTableis missing or empty on every method.Gauge version
I'm using the Debian repository.
Thank you!