no console window, part 2

One problem with no console window:
I cannot do a thread dump when the app seems to hang.

--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

8 comments
Comment actions Permalink

this should be solved once they go back from trying to force a JRE on us.

Erb wrote:

One problem with no console window:
I cannot do a thread dump when the app seems to hang.



0
Comment actions Permalink

Check the log file: .\system\log\idea.log

I some other post they explained why bundling the JRE
is a good idea. Have you read that? I only makes sense.

Marius


Christian Sell wrote:

this should be solved once they go back from trying to force a JRE on us.

Erb wrote:

>> One problem with no console window:
>> I cannot do a thread dump when the app seems to hang.
>>



0
Comment actions Permalink

is a good idea. Have you read that? I only makes sense.


I've read it. I have no problem if they specify exactly which JDK
version they require - but I dont want to download it every 2 weeks, and
if I decide to run IDEA on my own (different) JDK, that should be my
choice as well.

And what kind of testimony to Java is this, anyway? If every Java
application always came with their own specific JDK, I would probably
soon stop considering Java as a client platform.

regards

0
Comment actions Permalink

Choice is good, so an alternate download would be nice.
But we should not forget that they are getting close to
a release and that is their main focus now.

As for bundling the JRE, one more proof that life is
not perfect I guess :)

IDEA is one of the most responsive Java apps I have seen,
probably they are pushing really hard the limits of
Swing. This comes at a cost.

Marius

Christian Sell wrote:
>> is a good idea. Have you read that? I only makes sense.


I've read it. I have no problem if they specify exactly which JDK
version they require - but I dont want to download it every 2 weeks, and
if I decide to run IDEA on my own (different) JDK, that should be my
choice as well.

And what kind of testimony to Java is this, anyway? If every Java
application always came with their own specific JDK, I would probably
soon stop considering Java as a client platform.

regards


0
Comment actions Permalink

And should I type Ctrl-Break in the log file? :)

Marius Scurtescu wrote:

Check the log file: .\system\log\idea.log

I some other post they explained why bundling the JRE
is a good idea. Have you read that? I only makes sense.

Marius


Christian Sell wrote:

>> this should be solved once they go back from trying to force a JRE on us.
>>
>> Erb wrote:
>>
>>> One problem with no console window:
>>> I cannot do a thread dump when the app seems to hang.
>>>
>>
>>



--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

IDEA is one of the most responsive Java apps I have seen,
probably they are pushing really hard the limits of
Swing. This comes at a cost.


maybe they are on the wrong platform, then. If we want to do Java, we
have to accept some of its limitations (or help fix them). If the
motivating factor behind this is obscure GUI trickery, then I must say
that I dont care for that anyway. For me, this is (was?) a development
tool. What I need is code navigation, completion and some refactoring.
Most other things are dispensable - especially if they are purely aesthetic.

regards,
christian

0
Comment actions Permalink

Hi,

To get a console window, edit idea.lax and set

lax.stderr.redirect=console
lax.stdout.redirect=console

The entries are located near the end of idea.lax.

The value 'console' is a magic that makes the launcher
open a console window. Any other value is regarded
as the name of a log-file.

In this console window even full thread dumps (Ctl-Break)
are possible.


Sascha


"Erb" <dont@evenbother.com> schrieb im Newsbeitrag
news:ao210n$g25$2@is.intellij.net...

One problem with no console window:
I cannot do a thread dump when the app seems to hang.

>

--

>

Erb

>

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

>


0
Comment actions Permalink

Hi,

Or, if you don't want to edit the lax file, an
other solution is to keep Ctrl button pressed
while launching idea.exe (I know - and tried -
it on windows, don't know about Linux, etc.).

I know it doesn't help if you just run into
trouble, but if you know how to reproduce an
error, this might be enough.

Zsolt

Sascha Weinreuter wrote:

Hi,

To get a console window, edit idea.lax and set

lax.stderr.redirect=console
lax.stdout.redirect=console

The entries are located near the end of idea.lax.

The value 'console' is a magic that makes the launcher
open a console window. Any other value is regarded
as the name of a log-file.

In this console window even full thread dumps (Ctl-Break)
are possible.


Sascha


"Erb" <dont@evenbother.com> schrieb im Newsbeitrag
news:ao210n$g25$2@is.intellij.net...

>>One problem with no console window:
>>I cannot do a thread dump when the app seems to hang.
>>
>>--
>>
>>Erb
>>
>>==============================================================
>>"Most of you are familiar with the virtues of a programmer.
>>There are three, of course: laziness, impatience, and hubris."
>> - Larry Wall
>>==============================================================
>>



0

Please sign in to leave a comment.