Hi Reto,

I'll check shared memory connection, but I won't be surprised if there are
some problems, because it hasn't been as reliable as a socket one in all
JPDA releases....
As for the socket connection - the reason is that port 5000 is in use by a
WinXP service. Please use another port (5005 works ok for me) and everything
should work smooth.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


"Reto Badertscher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi Eugene,
>
> Build 635 using j2sdk1.4.0_01 and remote debugging with Tomcat 4.0.4 using
> jdk1.3.1_03:
>
Options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem
> ,server=y,suspend=n,address=javadebug
> Error: Cannot connect to the debuggee: shmemBase_attach failed, error code
> = -1.
> Connecting via jdb from jdk1.4.0_01 'jdb -attach javadebug' is
successfull.
> With Build 635 i never was able to get a shared memory connection.
>
> Using a socket connection i'm sometimes successfull sometimes not. Theres
no
> error message just 'Connecting to the target VM at 'localhost:5000' using
> socket transport.
>
Options: -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socke
> t,server=y,suspend=n,address=5000
>
> When i'm connected all works fine.
>
> Hope this helps.
>
> Regards and thanks for a great product
>
> Reto
>
>
>
> -----Urspr�ngliche Nachricht-----
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Im Auftrag von Eugene
> Zhuravlev
> Gesendet: Montag, 15. Juli 2002 12:57
> An: [EMAIL PROTECTED]
> Betreff: [Eap-bugs] Re: Remote Debugging
>
>
> Hi Reto,
>
> Could you please describe the way you connect to Tomcat (VM parameters for
> starting Tomcat and for connecting to it)?
> Are there any exceptions in the console or any messages from IDEA?
> Have I understood it right, that once the connection succeeded, everything
> works ok?
>
> --
>
> Best regards,
> Eugene Zhuravlev
> JetBrains, Inc, http://www.intellij.com
> "Develop with pleasure!"
>
>
> "Reto Badertscher" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hello,
> >
> > using Build 635 using j2sdk1.4.0_01 i've started using remote debugging
> with
> > Tomcat 4.0.4 using jdk1.3.1_03. Now i've the problem that sometimes
> > connecting to the JVM is working properly, sometimes not.
> > When working OK, my breakpoints are reached and when stopping debugging,
> > Idea asks to close the attached JVM too, otherwise my breakpoints are
not
> > reached and i'll not be asked to stop the debugged JVM.
> >
> > What can i do, to use remote debugging on a reliable basis? Before
remote
> > debugging i started Tomcat directly from Idea, but switched to remote
> > debugging because of classpath problems.
> > Thanks for any help in advance
> >
> > Reto Badertscher
> >
>
>
> _______________________________________________
> Eap-bugs mailing list
> [EMAIL PROTECTED]
> http://lists.jetbrains.com/mailman/listinfo/eap-bugs
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to