IntelliJ 4.5 debugger
I am using IntelliJ 4.5, and trying to set up the debugger.
When I started my application in debug mode, I am getting following error message and it doesn't break at the break point.
"Check your run/debug configuration. Failed to establish connection to the target VM at '127.0.0.1:4881' using socket transport"
Any clue ??
Please help
Please sign in to leave a comment.
Are you using local or remote debug session?
The error message indicates that there is no debuggee VM listening at port 4881 or the port is already occupied by another
application.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
"mike" <mike.lee@phns.com> wrote in message news:13193609.1183151693172.JavaMail.itn@is.intellij.net...
>I am using IntelliJ 4.5, and trying to set up the debugger.
>
>
Eugene,
I am trying to debug locally.
What is debuggee ?
I am sending you screen shots and start up script for your info.
Thanks.
Attachment(s):
debug.doc
startWebLogic.cmd
"mike" <mike.lee@phns.com> wrote in message news:32635829.1183641666797.JavaMail.itn@is.intellij.net...
A debuggee is a process you are debugging. In this case it's is a weblogic process.
The error indicates that either 4881 port is already occupied by another process (possibly another weblogic instance) or is used by
weblogic for other purposes. Try to change the debug port.
--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Eugene,
I tried different port number.
But the problem is I set the break point, but application is not break at the break point.
Your .cmd file already contains debugger command line arguments that specify port 5005:
%JAVA_HOME%\bin\java %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Xdebug -Xnoagent
-Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
-Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
-Djava.security.policy="%WL_HOME%\server\lib\weblogic.policy" weblogic.Server
You should remove the "-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005" and try again.
HTH,
Sascha
I already removed from startWebLogic.cmd.
But still getting same problem