3542 how to debug? IDEA hang while doing a refactor->change signature


If I do a refactor->change signature on a method, adding a new parameter, then IDEA hangs in infinite loop.
I end up having to kill IDEA process.

What is the best way to get debug information on this to send to JetBrains? There is nothing in the log files.

I would try to create a selfcontained test case, but I bet if I do that it will work. There's something specific to the method I am trying to refactor.

Method look like:

private void addSLA(User user, Map map, boolean flag);

I was adding a new parameter Map map2 with a default value "blah" (so it will show up as a compile error everywhere).

Thanks,
-Alex

3 comments

It would greatly help if you provided several thread dumps taken with
Ctrl-Break from the console.
Eugene.

"Alex" <no_mail@jetbrains.com> wrote in message
news:17839993.1131058960424.JavaMail.itn@is.intellij.net...
>

If I do a refactor->change signature on a method, adding a new parameter,

then IDEA hangs in infinite loop.

I end up having to kill IDEA process.

>

What is the best way to get debug information on this to send to

JetBrains? There is nothing in the log files.
>

I would try to create a selfcontained test case, but I bet if I do that it

will work. There's something specific to the method I am trying to refactor.
>

Method look like:

>

private void addSLA(User user, Map map, boolean flag);

>

I was adding a new parameter Map map2 with a default value "blah" (so it

will show up as a compile error everywhere).
>

Thanks,
-Alex



0

Hi,
By the way Eugene you may provide better way to take thread dumps I think. Can you ship little executable like http://tmitevski.users.mcs2.netarray.com/trace.do
to take dumps from idea and mail them to you?

TIA,
Dmitry

0

I ran idea.bat which launches the cmd window, and then hit CTRL+BREAK in the cmd window after IDEA hangs during the refactor->change signature.

IDEA-5680 IDEA hangs (infinite loop) during refactor->change signature
http://www.jetbrains.net/jira/browse/IDEA-5680

0

Please sign in to leave a comment.