9 comments
Comment actions Permalink

Launch second instance of IDEA with debugging configuration and having plugin installed, then make remote debugging to it from first instance.
Please, check out http://www.intellij.org, you can find more details about the topic

0
Comment actions Permalink

Or decide that that's too much of a hassle, and simply scatter System.out.println() all over. You'll need to hack the idea.lax file to send standard out somewhere convenient.

--Dave "That's what I do, anyway" Griffith

0
Comment actions Permalink


> i want to write a plugin, but how to debug it?

see:
http://www.intellij.org/twiki/bin/view/Main/PluginTesting

Alain

0
Comment actions Permalink

Thanx guys for all the helps above.

0
Comment actions Permalink

how do i hack the idea.lax so i can see the system.outs?

0
Comment actions Permalink

http://www.intellij.org/twiki/bin/view/Main/PluginTesting

neow wrote:

how do i hack the idea.lax so i can see the system.outs?


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0
Comment actions Permalink

The easiest way to debug a plugin is to run it through the DevKit.
It even lets you compile/run/debug a plugin for an older version of IDEA.

Alain

0
Comment actions Permalink

Alain,
Since he's talking about idea.lax he probably isn't on Irida...

Alain Ravet wrote:

The easiest way to debug a plugin is to run it through the DevKit.
It even lets you compile/run/debug a plugin for an older version of IDEA.

Alain


--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com

0
Comment actions Permalink

Hello Alain,

AR> The easiest way to debug a plugin is to run it through the DevKit.
AR> It even lets you compile/run/debug a plugin for an older version of
AR> IDEA.

If you run Irida. If you run Pallada, you can use this:
http://www.intellij.org/twiki/bin/view/Main/PluginANTScript (it work the
same way, but allow you develop under JDK 1.5 and deploy it to IDEA ;))

Thanks!
--
Alexey Efimov, Java Developer
Tops BI
http://www.topsbi.ru

0

Please sign in to leave a comment.