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
Please sign in to leave a comment.
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:
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!"
>> 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
>>
Dmitry Shaporenkov wrote:
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
>> 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
>>>