Can I launch idea from within idea to debug?

I have two versions installed, so the configs won't be an issue. But has
someone defined a run configuration that launches the second idea install?

--
Barry Kaplan
Integrated Trading Solutions
bkaplan@integratedtrading.com


0
14 comments

Yeah, I looked at that. But I guess I was looking for non-remote
debugging, similar to eclipse.


edwin hautus wrote:

Yes it's possible.

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


0

Edwin, do you konw if this works for idea4?

-bk

edwin hautus wrote:

Yes it's possible.

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


0

Yes, it does. And, although I haven't tried it, I'll bet you could setup an
external tool to run the second instance from within the first.

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c2o72l$80m$3@is.intellij.net...

Edwin, do you konw if this works for idea4?

>

-bk

>

edwin hautus wrote:

>

Yes it's possible.

>

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

>


0


Brad wrote:

Yes, it does. And, although I haven't tried it, I'll bet you could setup an
external tool to run the second instance from within the first.


I tried this yesterday with 1171 and it did not work. The bat files in
the zip eventually 'call idea.bat' which does not exist in 1171. I'll
dig deeper to see if I'm doing something wrong.

0

I just tried it and it worked fine. The second instance takes a long time to
start but it eventually does.

I don't understand what you're saying. "The bat files in the zip..."? I'm
assuming you already have a second instance setup. Or maybe that is what
you're talking about? Tell me about your setup.

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c2pq02$go6$2@is.intellij.net...
>
>

Brad wrote:

>

Yes, it does. And, although I haven't tried it, I'll bet you could setup

an

external tool to run the second instance from within the first.

>

I tried this yesterday with 1171 and it did not work. The bat files in
the zip eventually 'call idea.bat' which does not exist in 1171. I'll
dig deeper to see if I'm doing something wrong.

>


0

Forgot to mention I'm using build 1174 for my 'working' instance and 1171
for my debug instance.

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c2pq02$go6$2@is.intellij.net...
>
>

Brad wrote:

>

Yes, it does. And, although I haven't tried it, I'll bet you could setup

an

external tool to run the second instance from within the first.

>

I tried this yesterday with 1171 and it did not work. The bat files in
the zip eventually 'call idea.bat' which does not exist in 1171. I'll
dig deeper to see if I'm doing something wrong.

>


0

Brad wrote:

I don't understand what you're saying. "The bat files in the zip..."? I'm
assuming you already have a second instance setup. Or maybe that is what
you're talking about? Tell me about your setup.


On twiki page you refered me to had a zip file (by Jacques) containing
*.bat files to place in IDEA_HOME/bin. The instructions then say to run
./bin/debug.bat, which eventually does a 'call
idea.bat'.

Is this not what you are doing?


0

....

Or are you just editing the .lax file with debug VM args?

...


0

I wasn't the one that referred you but I'm sorry, I wasn't clear. What I
meant was: Running two instances at once works. I don't know about the zip
file on the twiki.
All I do is install two instances with each pointing to different
config/system directories and use remote debugging. And, I now start the
second instance using an external tool in the first instance.

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c2q3tp$kk3$1@is.intellij.net...

Brad wrote:

>

I don't understand what you're saying. "The bat files in the zip..."?

I'm

assuming you already have a second instance setup. Or maybe that is what
you're talking about? Tell me about your setup.

>

On twiki page you refered me to had a zip file (by Jacques) containing
*.bat files to place in IDEA_HOME/bin. The instructions then say to run
./bin/debug.bat, which eventually does a 'call
idea.bat'.

>

Is this not what you are doing?

>


0

Yes, for the second(debug) instance.

"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c2q3va$kk3$2@is.intellij.net...

...

>

Or are you just editing the .lax file with debug VM args?

>

...

>


0

Thanks Alain, this what I was looking for.

Alain Ravet wrote:

Barry,

I hope this will help:
http://www.intellij.net/forums/thread.jsp?forum=15&thread=55967&message=632720&q=62696e32#632720


Alain


0

Barry,

I uploaded the latest version of my scripts to http://www.intellij.org/twiki/bin/view/Main/PluginTesting.

There is now only 2 scripts. myideat.bat and debug.bat.

I also added my migration script that simplifies greatly moving from one version to the next (it takes only 3 steps).

I also added Alain's solution for people that use the installer to the wiki page.

Let me know if you have any questions.

Jacques

0

Please sign in to leave a comment.