-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug symbols are missing when gauge-java compiles the Java code #188
Comments
I've set However, this solution is suboptimal because it requires the Maven parent project to be present during tests, what makes my testing scripts less portable since now they require more code to be uploaded to the testing environment. I would like to leave Maven apart in this scenario. |
@glalejos It's a good thing to add javac arguments in we need to set something sililar to this |
Yes @shubhamsc, that's the idea. What would the argument separator character be? Given your example, If you want to keep consistency among all arguments in the |
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:
gauge_javac_args
variable to theenv/java.properties
.-g
flag tojavac
when theGAUGE_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
gauge run
on any Java project.javap -v
on any of the generated classes to check thatLocalVariableTable
is missing or empty on every method.Gauge version
I'm using the Debian repository.
Thank you!
The text was updated successfully, but these errors were encountered: