Skip to content
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

Using the -jvm-debug flag should pass the -agentlib jvm flag instead of -Xrunjdwp flag #476

Closed
jateenjoshi opened this issue Jan 31, 2015 · 1 comment
Labels
feature request universal Zip, tar.gz, tgz and bash issues

Comments

@jateenjoshi
Copy link
Contributor

It looks like the jvm debugger options passed into the java application are of the type:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345  

which is the outdated JDK 1.4 way of doing things.

Shouldn't it be using these args instead:

-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=12345

I couldn't get remote debugging with IntelliJ working with my application which uses JDK 7 with the args that the native packager uses for -jvm-debug, but could get it working with the latter set of args

@muuki88 muuki88 added universal Zip, tar.gz, tgz and bash issues feature request labels Jan 31, 2015
@muuki88
Copy link
Contributor

muuki88 commented Jan 31, 2015

Thanks for reporting. The -jvm-debug is a convenience setting, so you can always choose (as you did) to do it manually.

However I think updating this would be a good idea as I have no report of any jdk 1.4 user. Would you like to provide a pull request for this? This is the place to change.

@muuki88 muuki88 closed this as completed in 582a7f4 Feb 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request universal Zip, tar.gz, tgz and bash issues
Projects
None yet
Development

No branches or pull requests

2 participants