Resharper hangs Visual studio

I've got teh following code:

int rep = 0;
char last = '-';

if (rep == last)
{
rep++;
}
else
{
rep = 1;
}

When I rewrite this to

int rep = 0;
char last = '-';

(rep == last) ?
{
rep++;
}
else
{
rep = 1;
}

by removeing the if and typing the ? at the end of the line, Resharper
takes Visual studio into a spin. It took some time to get a debugger
attached and to break, but the callstack it resulted in pointed directly
at Resharper Structural painter.

I tried reproducing it and it happens each and every time.

Jesse

3 comments
Comment actions Permalink

After some additional investigating it looks like it was Coderush
instead of resharper that caused this, as the problem also occurs with
resharper disabled. Th efunny thing is that the stacktrace I got this
time contained mostly calls to Coderush, while the previous stacktrace
only had calls to resharper....

Weird...

Jesse

Jesse Houwing wrote:

I've got teh following code:

int rep = 0;
char last = '-';

if (rep == last)
{
rep++;
}
else
{
rep = 1;
}

When I rewrite this to

int rep = 0;
char last = '-';

(rep == last) ?
{
rep++;
}
else
{
rep = 1;
}

by removeing the if and typing the ? at the end of the line, Resharper
takes Visual studio into a spin. It took some time to get a debugger
attached and to break, but the callstack it resulted in pointed directly
at Resharper Structural painter.

I tried reproducing it and it happens each and every time.

Jesse

0
Comment actions Permalink

Hello Jesse,

you can post the stacktraces here so that we can narrow the problem.

Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

After some additional investigating it looks like it was Coderush
instead of resharper that caused this, as the problem also occurs with
resharper disabled. Th efunny thing is that the stacktrace I got this
time contained mostly calls to Coderush, while the previous stacktrace
only had calls to resharper....

Weird...

Jesse

Jesse Houwing wrote:

>> I've got teh following code:
>>
>> int rep = 0;
>> char last = '-';
>> if (rep == last)
>> {
>> rep++;
>> }
>> else
>> {
>> rep = 1;
>> }
>> When I rewrite this to
>>
>> int rep = 0;
>> char last = '-';
>> (rep == last) ?
>> {
>> rep++;
>> }
>> else
>> {
>> rep = 1;
>> }
>> by removeing the if and typing the ? at the end of the line,
>> Resharper takes Visual studio into a spin. It took some time to get a
>> debugger attached and to break, but the callstack it resulted in
>> pointed directly at Resharper Structural painter.
>>
>> I tried reproducing it and it happens each and every time.
>>
>> Jesse
>>



0
Comment actions Permalink

Dmitry Shaporenkov wrote:

Hello Jesse,

you can post the stacktraces here so that we can narrow the problem.


The people at DevExpress found the problem and will correct in their new
release. I'll try to see if it still comes up after that...

Jesse


Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>> After some additional investigating it looks like it was Coderush
>> instead of resharper that caused this, as the problem also occurs with
>> resharper disabled. Th efunny thing is that the stacktrace I got this
>> time contained mostly calls to Coderush, while the previous stacktrace
>> only had calls to resharper....
>>
>> Weird...
>>
>> Jesse
>>
>> Jesse Houwing wrote:
>>
>>> I've got teh following code:
>>>
>>> int rep = 0;
>>> char last = '-';
>>> if (rep == last)
>>> {
>>> rep++;
>>> }
>>> else
>>> {
>>> rep = 1;
>>> }
>>> When I rewrite this to
>>>
>>> int rep = 0;
>>> char last = '-';
>>> (rep == last) ?
>>> {
>>> rep++;
>>> }
>>> else
>>> {
>>> rep = 1;
>>> }
>>> by removeing the if and typing the ? at the end of the line,
>>> Resharper takes Visual studio into a spin. It took some time to get a
>>> debugger attached and to break, but the callstack it resulted in
>>> pointed directly at Resharper Structural painter.
>>>
>>> I tried reproducing it and it happens each and every time.
>>>
>>> Jesse
>>>


0

Please sign in to leave a comment.