Re: remote debugging with out j2ee
Hendrik Schreiber <hs-doAduxQln/dWk0Htik3J/[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
Geoffrey, just start your j2ee server or j2se application in debug mode and connect to it with your favorite debugger. to start in debug mode, add something like the following to the java commandline args: -Xdebug -Xnoagent -Djava.compiler=NONE - Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 then connect to port 5005 (this could be any port, but it's what I used in the example args) with your debugger once the app is up. -hendrik tagtraum industries incorporated 1412 Glenwood Ave 1B Raleigh, NC 27605 USA +1 919 637 1661 http://www.tagtraum.com/ On Apr 18, 2006, at 13:52, Geoffrey Deasey wrote: > Is this possible? I would like to connect to a server running a > complex > j2se based program and remotely debug it. > > Anyone have any advice? > > Geoffrey Deasey > > > _______________________________________________ > Juglist mailing list > [email protected] > http://trijug.org/mailman/listinfo/juglist_trijug.org