PositionManager and custom languages

Hi Dmitry,

Several times in the past, you did mention to look at the PositionManager interface. However, this interface does not seem to have Javadoc comments yet.

I would greatly appreciate it if you could spare a moment to explain how to implement/integrate a PositionManager for custom languages that do not support JSR-45. Are we required to register our own PositionManagersFactory implementation(s)?

Thanks

Franck

0
3 comments
Avatar
Permanently deleted user

Sadly, it seems impossible to add debugging support for custom languages that run on the JVM as it is currently restricted to Java, JSP, and JSPx files.

I have raised a JIRA issue http://www.jetbrains.net/jira/browse/IDEABKL-3617?page=history which was moved from the IDEA Feedback project to the IDEA Backlog project, indicating that it is not a priority for IDEA 6.0.

If you have an interest in this issue, please go and vote for it.

Thanks

Franck

0
Avatar
Permanently deleted user

Hey Franck,

I've managed to debug Groovy by manually putting a breakpoint in one of the idea config files (maybe *.iml?, whichever one stores the breakpoints anyway). Suggests it really wouldnt be hard fix for jetbrains..How about it guys?

0
Avatar
Permanently deleted user

Hi Bob,

Yes, I've been able to get similar results by:

1) associating the *.groovy file extension with the Java file type
2) setting the breakpoint
3) undoing 1) and debug a Groovy class

I actually got a reply from JetBrains saying that they had started making the necessary changes to allow languages running in the JVM to be debugged in IDEA.

To quote JetBrains: "The only thing left is our JSR-45 implementation, which is tightly bound to jsps. We'll look into generalizing it or making sure one can plug another implementation if necessary."

Other than getting a status update posted to this thread, there is little left other than watching: http://www.jetbrains.net/jira/browse/IDEABKL-3617 which you are already doing.

Cheers,
Franck

0

Please sign in to leave a comment.