Any debug examples

Do you have any example plugins for integrating non-java languages into the debugger? At first glance it looks like the debug support is all Java specific.

10 comments

Hello Charles,

CW> Do you have any example plugins for integrating non-java languages
CW> into the debugger? At first glance it looks like the debug support
CW> is all Java specific.

You can use the debugger for languages which run under the JVM, using the
PositionManager interface to provide mapping between offsets in Java byte
code and source code positions in your language. It is not currently possible
to use the IDEA debugger to debug non-JVM languages.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Ouch. Any plans for adding support in a point release?

0

Hello Charles,

CW> Ouch. Any plans for adding support in a point release?

Definitely not in a point release - and it's not even in the current plans
for the next major release. It'll require a lot of refactoring.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Ah. Well, I'm just playing with a Ruby plugin for fun, not for a job so it doesn't really matter to me. But... It's a pretty big hole in a language support API to not be able to debug the language don't you think? You don't need to answer, just food for thought.

0

I think this is a big deal, and people won't take IDEA seriously until it
provides such an API for debugging non-java languages. I've filed
http://jetbrains.net/jira/browse/IDEA-5752http://jetbrains.net/jira/browse/IDEA-5752
about this.

Charles Wise wrote:

Ah. Well, I'm just playing with a Ruby plugin for fun, not for a job so it doesn't really matter to me. But... It's a pretty big hole in a language support API to not be able to debug the language don't you think? You don't need to answer, just food for thought.

0

I don't know if affects anything but I've voted for your request.

0

People won't take IDEA seriously because it doesn't provide a feature that
a large portion of its users have no use for? Come on now that's overstating
things just a little don't you think! Please don't lose sight of the fact
that IDEA is, first and foremost, a Java IDE. Given that adding debug support
for random languages sounds like a pretty large chunk of work, I'd much rather
JetBrains focused their efforts on providing Java features, improving performance,
improving the UI, improving the GUI builder etc etc. Making IDEA a all-singing
all-dancing framework will only end in tears IMHO.

I think this is a big deal, and people won't take IDEA seriously until
it provides such an API for debugging non-java languages. I've filed
http://jetbrains.net/jira/browse/IDEA-5752http://jetbrains.net/jira/br
owse/IDEA-5752 about this.

Charles Wise wrote:

>> Ah. Well, I'm just playing with a Ruby plugin for fun, not for a job
>> so it doesn't really matter to me. But... It's a pretty big hole in
>> a language support API to not be able to debug the language don't you
>> think? You don't need to answer, just food for thought.
>>


0

You restated my point, in a way. IDEA's current users don't have much use for
nonjava parts, maybe, but there are tons and tons of developers who use other
languages. Anyway, I know lots of people who use Eclipse because it has mediocre
support for many languages (java, python, ruby, C). I think IDEA could provide
awesome support for other languages while still keeping top notch support for
Java. I think JB could come up with a language-neutral API.

Chris Miller wrote:

People won't take IDEA seriously because it doesn't provide a feature
that a large portion of its users have no use for? Come on now that's
overstating things just a little don't you think! Please don't lose
sight of the fact that IDEA is, first and foremost, a Java IDE. Given
that adding debug support for random languages sounds like a pretty
large chunk of work, I'd much rather JetBrains focused their efforts on
providing Java features, improving performance, improving the UI,
improving the GUI builder etc etc. Making IDEA a all-singing all-dancing
framework will only end in tears IMHO.

>> I think this is a big deal, and people won't take IDEA seriously until
>> it provides such an API for debugging non-java languages. I've filed
>> http://jetbrains.net/jira/browse/IDEA-5752http://jetbrains.net/jira/br
>> owse/IDEA-5752 about this.
>>
>> Charles Wise wrote:
>>
>>> Ah. Well, I'm just playing with a Ruby plugin for fun, not for a job
>>> so it doesn't really matter to me. But... It's a pretty big hole in
>>> a language support API to not be able to debug the language don't you
>>> think? You don't need to answer, just food for thought.
>>>


0

What's the point of having a language API? I don't know whether JetBrains intended it as an adjunct to the Java functionality and want it to provide support for custom JVM-based languages or whether they intended it to be used to provide a complete IDE for non-Java languages.

If they only meant it as a device for extending their Java support (since other JVM languages are becoming part of the Java environment), then the current debug support should work for those languages.

If they meant it as a means to becoming the universal IDE for multiple languages, then the lack of a debug API for non-Java languages is an issue.

0

I don't know if that discussion has died down.
But, well I'm a bit biased though, there has been a growing community of developers leaving the java camp in favor of ruby (ROR specifically).
I know the basic theme around IDEA and that they are the last ones in giving support to a new framework, even jsf is not supported as yet and the app servers were only supported in idea4. Ofcourse when their support comes its laudable.
You C a basic loophole in this strategy.
Idea makers can't even jump onto the bandwagon of a new java framework let alone be supporting a non-jvm language.
But its a hard fact and this fact is as true as the boom/bust cycles of economics that every computer language has its fixed life. I don't know if java has hit its bottom.

I would hate IDEA makers if they can't foresee and are the last ones to support Ruby.

I feel like my girlfriend can't change her clothes matching the latest fashion trends!

0

Please sign in to leave a comment.