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
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.
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.
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
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
> i want to write a plugin, but how to debug it?
see:
http://www.intellij.org/twiki/bin/view/Main/PluginTesting
Alain
Thanx guys for all the helps above.
how do i hack the idea.lax so i can see the system.outs?
http://www.intellij.org/twiki/bin/view/Main/PluginTesting
neow wrote:
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
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
Alain,
Since he's talking about idea.lax he probably isn't on Irida...
Alain Ravet wrote:
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
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