Problem with debug run configuration

Hi all,

I've been adding run configurations to my plugin, and I'm having a strange problem with running them in debug mode. When I run in a debug configuration, I get the following errors:

sun.misc.ServiceConfigurationError: com.sun.jdi.connect.Connector: Provider sun.jvm.hotspot.jdi.SACoreAttachingConnector not found
sun.misc.ServiceConfigurationError: com.sun.jdi.connect.Connector: Provider sun.jvm.hotspot.jdi.SADebugServerAttachingConnector not found
sun.misc.ServiceConfigurationError: com.sun.jdi.connect.Connector: Provider sun.jvm.hotspot.jdi.SAPIDAttachingConnector not found


I assume this means that there's something wrong with my classpath, but I have no idea what. I'm using a pretty standard JavaCommandLineState and I can't see where any of the other configs are doing anything special for debugging. Any ideas?

2 comments
Comment actions Permalink

Hi Colin,

Are you starting IDEA with the native launcher? If so, please try the batch script from the "bin" directory. Does it make any difference?

Eugene.

0
Comment actions Permalink

Hi Eugene,

I normally see this when I'm running the IDE in debug mode, i.e. when I've run a sandbox copy of IntelliJ with my plugin installed. I do this by invoking com.intellij.idea.Main as described here: http://devnet.jetbrains.com/message/5504834#5504834. However even in that mode I don't see these messages for e.g. an application configuration, only for my config.

0

Please sign in to leave a comment.