RE: Fixing socket listener port

"Nascif Abousalh-Neto" <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <[email protected]>
Excelent, thanks for the quick response!

> -----Original Message-----
> From: Scott Urman [mailto:[email protected]] 
> Sent: Wednesday, November 13, 2002 12:31 PM
> To: Abousalh-Neto, Nascif [NCRTP:3X50:EXCH]
> Cc: [email protected]
> Subject: Re: [jswat-user] Fixing socket listener port
> 
> 
> Yep.  Just use -Xrunjdwp:transport=dt_socket,address=<your port>,...
> 
> You can also use -Xrunjdwp:help to see the available options 
> (at least on Solaris).  
> 
> > Nascif Abousalh-Neto wrote:
> > 
> > When I start a debugee process in server mode, using the 
> command line
> > options:
> > -Xrunjdwp:transport=dt_socket,server=y,suspend=n
> > 
> > It starts each time listening in a different port. I would like to 
> > skip the tedious "find port number on server output, copy, 
> switch to 
> > JSwat, attach, paste port number" cycle.
> > If I could fix the port, I could code an alias in JSwat to attach or
> > even direct JSwat to
> > automatically attach to the server as soon as it starts.
> > 
> > So the question is, is there any way to fix the port number when 
> > starting an application in debug-server mode, to remove the manual 
> > step?
> > 
> > Regards,
> >         Nascif
> 
> -- 
> 
> -----------------------------------+--------------------------------
> Scott Urman                        | Email: [email protected]
> Principal Member of Technical Staff| Phone: 650-506-6001
> DDR - Oracle Corporation           | Fax:   650-506-7204
> -----------------------------------+--------------------------------
> Author of _Oracle9i PL/SQL Programming_ and _Oracle8i Advanced
> PL/SQL Programming_                  http://www.oraclepressbooks.com
> -----------------------------------+--------------------------------
> Disclaimer: The opinions expressed here are my own, and are not
>             necessarily those of Oracle Corporation.
> --------------------------------------------------------------------
> _______________________________________________
> jswat-user mailing list
> [email protected] 
> http://www.bluemarsh.com/mailman/listinfo/jswa> t-user
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.