From 9ad9ff18de3f14541b35a950751699129f242f57 Mon Sep 17 00:00:00 2001 From: "edburns%acm.org" Date: Thu, 11 Jul 2002 22:19:59 +0000 Subject: [PATCH] debug_options git-svn-id: svn://10.0.0.236/trunk@125045 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/java/webclient/src_share/runem.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mozilla/java/webclient/src_share/runem.pl b/mozilla/java/webclient/src_share/runem.pl index ef06acd570c..643461d0915 100644 --- a/mozilla/java/webclient/src_share/runem.pl +++ b/mozilla/java/webclient/src_share/runem.pl @@ -123,7 +123,12 @@ else { #tack on the java library path $cmd = $cmd . " -Djava.library.path=" . $BINDIR . $CPSEP . $BINDIR . $SEP . "components"; #tack on the debug arguments -cmd = $cmd . "-Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n"; +if ($IS_UNIX) { + $cmd = $cmd . " -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"; +} +else { + $cmd = $cmd . " -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n"; +} #tack on the classpath, class name, and bin dir $cmd = $cmd . " -classpath " . $ENV{"CLASSPATH"} . " " . $CLASSNAME . " " . $BINDIR;