Re: Fixing socket listener port
Scott Urman <[email protected]>
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Organization | Server Technologies DDR |
| Message-ID | <[email protected]> |
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. --------------------------------------------------------------------