MORAWETZ Martin
2007-08-14 12:08:43 UTC
Hi,
I had two approaches to debug Resin Apps within Eclipse
which worked for me perfectly with Resin 3.0.x. However
with Resin 3.1.2 I can't get them to work.
The first approach was to start Resin with the arguments
-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345
and have in Eclipse Resin as Remote Application configured
(Run -> Debug -> Remote Application), connection Type Socket.
The second approach was to start Resin in Eclipse having
Resin configured as 'Java Application'. To switch from Resin
3.0.x to Resin 3.1.2 I just had to change the classpath and
change the main class from
'com.caucho.server.http.ResinServer' to
'com.caucho.boot.ResinBoot' (I guess).
Both approaches show the same result with Resin 3.1.2.
I see the Resin threads in the debug perspective as usual, I'm able
to run the application, but Breakpoints don't get recognized
hence I'm not able to debug.
Any Ideas?
Regards Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maillist.caucho.com/pipermail/resin-interest/attachments/20070814/165f1831/attachment-0001.html
-------------- next part --------------
"Diese E-Mail sowie jeglicher Anhang sind vertraulich und ausschlie?lich f?r den/die bezeichneten
Adressaten bestimmt. Diese Mitteilung kann rechtlich gesch?tzte, firmeninterne oder anderweitig
vertrauliche Informationen enthalten, deren Weitergabe ohne unsere Zustimmung strengstens
untersagt ist. Sofern Sie nicht der beabsichtigte Adressat sind oder diese E-Mail irrt?mlich
erhalten haben, sind Sie nicht autorisiert, diese Mitteilung bekanntzumachen, zu kopieren,
weiterzugeben oder aufzubewahren. Bitte informieren Sie uns in diesem Fall unverz?glich
und vernichten diese E-Mail.
Diese Fu?note dient auch der Best?tigung dar?ber, da? diese E-Mail automatisch auf Computerviren,
anst??ige Inhalte und Einwahlprogramme gescannt wurde."
"The information in this e-mail and in any attachments is confidential and intended solely
for the attention and use of the named addressee(s). This information may be subject to legal,
professional or other privilege and further distribution of it is strictly prohibited without
our authority. If you are not the intended recipient, you are not authorised to and must not
disclose, copy, distribute, or retain this message or any part of it, and should notify us
immediately.
This footnote also confirms that this email has been automatically scanned for the presence
of computer viruses, profanities and certain file types."
I had two approaches to debug Resin Apps within Eclipse
which worked for me perfectly with Resin 3.0.x. However
with Resin 3.1.2 I can't get them to work.
The first approach was to start Resin with the arguments
-Xdebug -Xnoagent
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345
and have in Eclipse Resin as Remote Application configured
(Run -> Debug -> Remote Application), connection Type Socket.
The second approach was to start Resin in Eclipse having
Resin configured as 'Java Application'. To switch from Resin
3.0.x to Resin 3.1.2 I just had to change the classpath and
change the main class from
'com.caucho.server.http.ResinServer' to
'com.caucho.boot.ResinBoot' (I guess).
Both approaches show the same result with Resin 3.1.2.
I see the Resin threads in the debug perspective as usual, I'm able
to run the application, but Breakpoints don't get recognized
hence I'm not able to debug.
Any Ideas?
Regards Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maillist.caucho.com/pipermail/resin-interest/attachments/20070814/165f1831/attachment-0001.html
-------------- next part --------------
"Diese E-Mail sowie jeglicher Anhang sind vertraulich und ausschlie?lich f?r den/die bezeichneten
Adressaten bestimmt. Diese Mitteilung kann rechtlich gesch?tzte, firmeninterne oder anderweitig
vertrauliche Informationen enthalten, deren Weitergabe ohne unsere Zustimmung strengstens
untersagt ist. Sofern Sie nicht der beabsichtigte Adressat sind oder diese E-Mail irrt?mlich
erhalten haben, sind Sie nicht autorisiert, diese Mitteilung bekanntzumachen, zu kopieren,
weiterzugeben oder aufzubewahren. Bitte informieren Sie uns in diesem Fall unverz?glich
und vernichten diese E-Mail.
Diese Fu?note dient auch der Best?tigung dar?ber, da? diese E-Mail automatisch auf Computerviren,
anst??ige Inhalte und Einwahlprogramme gescannt wurde."
"The information in this e-mail and in any attachments is confidential and intended solely
for the attention and use of the named addressee(s). This information may be subject to legal,
professional or other privilege and further distribution of it is strictly prohibited without
our authority. If you are not the intended recipient, you are not authorised to and must not
disclose, copy, distribute, or retain this message or any part of it, and should notify us
immediately.
This footnote also confirms that this email has been automatically scanned for the presence
of computer viruses, profanities and certain file types."