only one idea instance: now means only one debugger!!!!!!

We have many apps that require mutliple processes be debugged
concurrently. Idea only allows a single debugger instance. Although a
nuicance, the workaround had been to invoke a second (or third) instance
of idea to be able to debug multiple applications.

As of 644, idea does not allow a second instance of run. We can no
longer debug our client/server apps. My team is currently switching back
to jbuilder. The pain! The agony! Please don't do this to me.

Why is this restriction necessary? Either really. I would like debug
multiple apps in the same instance (with multiple tabs like run). But if
that is not possible for ariadna -- please remove the restriction of a
single idea instance.

-bk

8 comments
Comment actions Permalink

"Barry Kaplan" <bkaplan@abwg.com> wrote in message
news:ap9eoq$h0r$1@is.intellij.net...

Read the groups. This topic was discussed two/three days ago.

We have many apps that require mutliple processes be debugged
concurrently. Idea only allows a single debugger instance. Although a
nuicance, the workaround had been to invoke a second (or third) instance
of idea to be able to debug multiple applications.


Mulitple instances can run if they have different config and system
directories.
Either install a second idea or copy idea.bat and change the config and
system parameters in JVM_ARGS .


0
Comment actions Permalink

Carlos Costa e Silva wrote:

Read the groups. This topic was discussed two/three days ago.


I see the question on the 22nd, but no discussion. Do you happen to know
off hand what I might search for?

Mulitple instances can run if they have different config and system
directories.
Either install a second idea or copy idea.bat and change the config and
system parameters in JVM_ARGS .


Now I would really love to read the discussion, because I would like to
know if this is a long term design decision, or a temporary work around.

Having to reinstall dea for each of our dozen or so cooperating servers
seems a just a tad cumbersome. Especially since I must now keep in sync
my extensive customizations in config/* across each installation.

0
Comment actions Permalink

You only need a different config and system directory. That is it.
However the JetBrains team do agree that the current way is insuficient.
There is a planned SCR for this
http://www.intellij.net/tracker/idea/viewSCR?publicId=4920

Jacques
"Barry Kaplan" <bkaplan@abwg.com> wrote in message
news:ap9kg5$mks$1@is.intellij.net...

Carlos Costa e Silva wrote:

Read the groups. This topic was discussed two/three days ago.

>

I see the question on the 22nd, but no discussion. Do you happen to know
off hand what I might search for?

>

Mulitple instances can run if they have different config and system
directories.
Either install a second idea or copy idea.bat and change the config and
system parameters in JVM_ARGS .

>

Now I would really love to read the discussion, because I would like to
know if this is a long term design decision, or a temporary work around.

>

Having to reinstall dea for each of our dozen or so cooperating servers
seems a just a tad cumbersome. Especially since I must now keep in sync
my extensive customizations in config/* across each installation.

>


0
Comment actions Permalink

Barry Kaplan wrote:

We have many apps that require mutliple processes be debugged
concurrently. Idea only allows a single debugger instance. Although a
nuicance, the workaround had been to invoke a second (or third) instance
of idea to be able to debug multiple applications.

As of 644, idea does not allow a second instance of run. We can no
longer debug our client/server apps. My team is currently switching back
to jbuilder. The pain! The agony! Please don't do this to me.

Why is this restriction necessary? Either really. I would like debug
multiple apps in the same instance (with multiple tabs like run). But if
that is not possible for ariadna -- please remove the restriction of a
single idea instance.

-bk

I worked around that by using two projects in one IDEA JVM. each can run
its own debugger, although it's very slow.

--
Edoardo Comar
Cape Clear Software
http://www.capeclear.com

Register for our Web Services Seminar tour - "Lowering the Cost of
Business Integration".
See http://www.capeclear.com/seminars for details

0
Comment actions Permalink

Not allowing multiple debug sessions is a huge weakness here. All the workarounds in the world isn't gonna fix that. Most other GUI debuggers support multiple sessions. Hopefully JetBrains will add that to the next release.

0
Comment actions Permalink

Why don't you use multiple projects? Or do you need multiple debuggers
inside one project?

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Barry Kaplan" <bkaplan@abwg.com> wrote in message
news:ap9eoq$h0r$1@is.intellij.net...

We have many apps that require mutliple processes be debugged
concurrently. Idea only allows a single debugger instance. Although a
nuicance, the workaround had been to invoke a second (or third) instance
of idea to be able to debug multiple applications.

>

As of 644, idea does not allow a second instance of run. We can no
longer debug our client/server apps. My team is currently switching back
to jbuilder. The pain! The agony! Please don't do this to me.

>

Why is this restriction necessary? Either really. I would like debug
multiple apps in the same instance (with multiple tabs like run). But if
that is not possible for ariadna -- please remove the restriction of a
single idea instance.

>

-bk

>


0
Comment actions Permalink

Yes, we need multiple debuggers in the same project. (The project builds a set of servers that all share a common code base. We have no need to create seperate projects and seperate jars--other than to support debugging in idea.)

Also, I'm not so clear on the "use multiple configsystem directories" solution. Does that mean I also need to clone the idea/bin directory and edit the lax file for each configsystem set?

0
Comment actions Permalink

I'd like to pose the inverse question: Why has Intellij been resistent to supporting multiple debug sessions in the same project?

It's clearly something most other IDEs do, and something most developers want. Is there an argument against multiple debug sessions, or does it simply require a lot of work to implement, and so has been postponed?

I've followed all the discussions and trackers on this subject, and have never found an adequate explanation for why this feature isn't there and isn't slated.

Thanks, and congratulations on the recent release.

0

Please sign in to leave a comment.