-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Kinnucan <[EMAIL PROTECTED]> writes:
> Heather Marie Buch writes:
> > Hi Paul,
> >
>
> Heather,
>
> I haven't done any servelet development and I don't have access
> to Linux so I'm afraid I can't be of much help myself. However,
> there are JDE users who have used JDEbug successfully to debug
> Tomcat applications. Therefore I am reposting your mail to the
> JDE mailing list in the hopes that someone on it has the answers
> you need. Regarding the eieio error, that is simply a side effect
> of JDEbug's failing to connect to Tomcat. I need to fix
> the code to give a more meaningful response.
<snip/>
Your best bet is to startup Tomcat in a second process outside of Emacs and
connect via JPDA. I would recommend starting Tomcat via Ant...
<java classname="org.apache.catalina.startup.Bootstrap" fork="yes">
<jvmarg value="-Dcatalina.home=."/>
<jvmarg value="-Xrunjdwp:transport=dt_socket,address=2112,server=y,suspend=n"/>
<jvmarg value="-Xdebug"/>
<jvmarg value="-Xnoagent"/>
<jvmarg value="-Djava.compiler=NONE"/>
<arg value="start"/>
<classpath refid="project.classpath"/>
</java>
Either way... you need to setup Tomcat with the following Java parameters:
- -Xrunjdwp:transport=dt_socket,address=2112,server=y,suspend=n
- -Xdebug
- -Xnoagent
- -Djava.compiler=NONE
Then you can connect to Tomcat and it should set your breakpoints.
You can then use your browser to goto the servlet. At this point you can
change back to Emacs an the JDE should be stopped on your breakpoint.
.... and yes... this was on Linux (Debian GNU/Linux actually :)
Kevin
- --
Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] )
Location - San Francisco, CA, Cell - 415.595.9965
Jabber - [EMAIL PROTECTED], Web - http://relativity.yi.org/
Yes I know my enemies, they're the teachers who taught me to fight me;
compromise, conformity, assimilation, submission, ignorance, hypocrisy,
brutality, The Elite. All of which are American Dreams.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
iD8DBQE8UkjKAwM6xb2dfE0RAldKAJ9jBfGEHI41WIej7ieDeYGP9TGcmwCdFFXD
93rmms1VVXTb7hKw7Af/F6o=
=1xO9
-----END PGP SIGNATURE-----