Re: Start JSwat and automatically attach to remote debugee?
"Nathan Fiedler" <[email protected]> Thu, 11 Aug 2005 14:12:43 -0700 (PDT)
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
If I remember correctly, you simply pass the commands on the command line when invoking JSwat, for example: java -Djava.ext.dirs=.. -jar jswat.jar "attach jdbconn" Not sure about using jswat.sh/bat with command arguments, but you could certainly try it and see if it works. If not, let me know. BTW, you need to be a member of the jswat-user list before you can post to it. n Wendy Smoak wrote: > Is there a command-line switch or something I can do to tell JSwat 2.39 > to automatically attach to a remote debugee on startup? > > I've adjusted the Tomcat startup so that it's > Listening for transport dt_shmem at address: jdbconn > and I have a script that sets the source- and class-paths then starts > JSwat. > > The only thing I'm missing for it to "just work" is to get JSwat to > automatically connect rather than having to hit ctrl-A and enter. > > Thanks, > Wendy Smoak