Trouble launching IDEA debugger
Hi all,
I don't know if I choosen the right forum, but maybe you can help me. I have a little program what I want to debug inside IDEA. But - if I try to launch the debugger, IDEA says "Unable to launch target VM". If I launch it without debugger, the application starts correctly. What's wrong with it?
Ralf.
Please sign in to leave a comment.
Could you please describe your configuration in detail:
the IDEA build number,
exact target JDK version
debugger settings in File | Project Properties | Debugger
--
Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"
"Ralf Heydenreich" <no_mail@jetbrains.com> wrote in message news:10951738.1058943254002.JavaMail.itn@is.intellij.net...
>
But - if I try to launch the debugger, IDEA says "Unable to launch target VM". If I launch it without debugger, the application
starts correctly. What's wrong with it?
>
"Ralf Heydenreich" <no_mail@jetbrains.com> wrote in message
news:10951738.1058943254002.JavaMail.itn@is.intellij.net...
have a little program what I want to debug inside IDEA. But - if I try to
launch the debugger, IDEA says "Unable to launch target VM". If I launch it
without debugger, the application starts correctly. What's wrong with it?
Odds are that your firewall doesn't allow java to connect to the net,
specifically, to the debug port. An easy workaround (other than opening your
firewall to allow this ;) is to go to the debugger tab of project
properties and select 'Shared memory' as the transport.
/Jonas
This was the solution. I had choosen "sockets" for debugging, and that was wrong. Thanx all!
Ralf.
BTW, shmem transport implementation always had problems so I'd recommend using socket transport if possible.
--
Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"
"Ralf Heydenreich" <no_mail@jetbrains.com> wrote in message news:9638723.1059115063013.JavaMail.itn@is.intellij.net...
>