JRun and using a java debugger
From: Steve (nospam_at_please.reply.to.group.thanks.com)
Date: 11/29/04
- Next message: Mike B: "Re: learning loops"
- Previous message: Steve: "JRun & using a Java Debugger"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Nov 2004 12:57:19 -0500
Hi;
A company I am working for is using JRun 3 ( they have
plans for moving to JRun 4, but it is going to take a
while ).
I am using a multipurpose IDE called Visual Slickedit 9.0
that comes with a java debugger ( it looks like a front
end to the jdk that comes with the jsdk ).
I am having trouble attaching the debugger to the remote
jvm for a JRun webapp/site.
The directions (below) that come with Visual Slickedit call
for feeding the remote vm some special arguments and
restarting it.
I am going to the "java arguments" field in my web app and
inserting the following string ( adjusting for the port
of the web app):
-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
Once I do however, I can't get the webapp to restart.
Do I need to prepend "java" to the string above?
If not, what do I need to do to get the java debugger
and the JRun 3 web app talking to each other?
Thanks in advance for any insights or information.
Steve
( from the slickedit help section ):
Attaching to a Remote VM (Java Only)
To attach to a remote VM:
1. Start the remote VM with command arguments similar to the following:
Java -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,
suspend=y,address=8000 MainClass Arg1 Arg2
2. Choose Attach to Remote VM\u2026 from the Debug menu.
- Next message: Mike B: "Re: learning loops"
- Previous message: Steve: "JRun & using a Java Debugger"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|