Debugging EJB on J2EE with IDEA

I've got a problem with debugging EJB on J2EE 1.4 with IntelliJ IDEA 3.0.1. I run J2EE Application Server in debug mode and attach to the server from IDEA. The result is: only breakpoints on method calls can be set. Other breakpoins marked with cross (invalid). String "debug information is unavailable" in debug window. (Check box to generate debug information is "on"). How I can resolve the problem?

0
4 comments
Avatar
Permanently deleted user

Are you using ant tasks to deploy EAR??? If you use javac task debug="true" is required.

0
Avatar
Permanently deleted user

I'm using the deployment tool that is supplied with J2SDKEE 1.4

0
Avatar
Permanently deleted user

When you configure application you specify path to sources isn't it??? If so, deploytool compile your classes without debug info. Personally I don't use J2SDKEE 1.4 deployment tool but may be you can configure it. I think it use ant, try to search build.xml file.
By the way J2SDKEE RI usually very buggy.

0
Avatar
Permanently deleted user

I would also recommend to upgrade to IDEA 3.0.4

--

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

"Dmitry Kashin" <jiveadmin@intellij.net> wrote in message news:19253668.1052988957692.JavaMail.jrun@is.intellij.net...

Are you using ant tasks to deploy EAR??? If you use javac task debug="true" is required.

>


0

Please sign in to leave a comment.