Skip to content

Commit

Permalink
Fixing -jvm-debug flags so that they use args compatible with the lat…
Browse files Browse the repository at this point in the history
…est JDKs, instead of the outdated JDK 1.4 args
  • Loading branch information
jateenjoshi committed Feb 4, 2015
1 parent 53c0c46 commit 4deb3e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ addResidual () {
residual_args+=( "$1" )
}
addDebugger () {
addJava "-Xdebug"
addJava "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=$1"
addJava "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=$1"
}
# a ham-fisted attempt to move some memory settings in concert
# so they need not be messed around with individually.
Expand Down

0 comments on commit 4deb3e3

Please sign in to comment.