Debugging under OSX, DP9 and Idea 692
Hi folks,
I need to debug using Idea (build 692) and Apple's DP9. Has anyone been able to successfully debug GLUE (or anything for that matter) under Idea, preferably on OSX? I'm getting a "VM initialization failed" when I try to debug under Idea. I have triple-checked the path names for the classpath. This is for a debug session for a GLUE client or
server, as well as a HelloWorld type app. I get the same results no matter what.
I also tried "Compile before run/debug" and the compiler failed with a
"ClassNotFoundException" from com.intellij.rt.compiler.JavacRunner.main
I can run the program from within the IDE, no problem. I just can't debug for the life of me.
Any clues?
thanks,
Brian
请先登录再写评论。
In <6312576.1043685348454.JavaMail.jrun@is.intellij.net> Brian Calhoun
wrote:
| Hi folks,
|
| I need to debug using Idea (build 692) and Apple's DP9. Has anyone
| been able to successfully debug GLUE (or anything for that matter)
| under Idea, preferably on OSX? I'm getting a "VM initialization
| failed" when I try to debug under Idea. I have triple-checked the
| path names for the classpath. This is for a debug session for a GLUE
| client or server, as well as a HelloWorld type app. I get the same
| results no matter what.
Well, in my case the reason was the broken MacOSX dns setup. Since I use
a powerbook and switch locations quite often I ended up with a local
setup where both localhost and my hostname did not resolve. Ensure that
at least your hostname resolves and debugging should work.
frenchc
Still wonder how someone could break the simplest Unix conventions and
prevent localhost lookup ... ;(
Heh, I just saw your post on the Java seed list. THANK YOU!!! I've been pulling my hair out trying to get this going.
Yes, that solved the problem. Somehow, and this is weird, my machine name was resolving to an IP address that was not my own in NetInfo. I'm sure I was screwing around with stuff and mistakenly set it.
Anyway, thanks again for the tip!
Brian