NUnit Test Runner Freezes Visual Studio
When I try using the test runner it freezes visual studio. I made a new project and wrote a very simple test that doesn't do anything more than write a message to stdout. I am running ReSharper2 build 207 on Visual Studio .Net 2003. What can I do to find out the cause of this problem? Two other people are having the same problem on my team. It seems that ReSharper is trying to do something because it is using 60%-85% of the CPU when this happens.
Thanks!
Please sign in to leave a comment.
The behavior seems to be very similar to:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=10805
The only difference is that I don't use NMock in my simple test and it hangs every time I try to run a test.
Hello Dann,
I suggest that you try to attach a debugger (another instance of VS) to the
hung
VS (devenv.exe process) and capture stack traces of all threads running managed
code.
That would greatly help us to diagnose the problem.
Thanks in advance!
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I didn't have check it out until this week and now I cannot get the same results. I haven't changed anything but when it comes back I will try to get any information I can to help out.
Thanks!
Dann
Am having exactly the same problem. I just tried to attach a debugger to the process but the second devenv is now hung..
The good idea is to attach CLR debugger, but not another Visual Studio
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Tim Dean" <tim.dean@credit-suisse.com> wrote in message
news:23380588.1149704901353.JavaMail.javamailuser@localhost...
ok, could you give me a step-by-step? this isnt something I am familiar with...
Run the following application:
Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\GuiDebug\DbgCLR.exe
And then atach it to the hung VisualStudio
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Eugene Pasynkov (JetBrains)" <Eugene.Pasynkov@jetbrains.com> wrote in
message news:e68qal$g8t$1@is.intellij.net...
>
>> Am having exactly the same problem. I just tried to attach a debugger to
>> the process but the second devenv is now hung..
>
ok - here you go (attached)
Regds,
Tim D
Attachment(s):
stacks.txt
Thank you. We'll try to fix this problem
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Tim Dean" <tim.dean@credit-suisse.com> wrote in message
news:14169573.1150101323495.JavaMail.itn@is.intellij.net...
>
>
If it helps - my devenv.exe hangs consistently on the second attempt to use the unit-test runner. First attempt is always ok.
regds,
Tim D
I hope we've fixed this problem in build 252 (will be available soon)
Please let me know wether the problem is solved or not
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Tim Dean" <tim.dean@credit-suisse.com> wrote in message
news:12430872.1150207477721.JavaMail.itn@is.intellij.net...
>
>
I have installed 252, still get the same problem on the second attempt to use the test runner.
Anyone else seeing this or is it just me?
Regds,
Tim D
Again, please arrach the CLR debugger and post the stacktrace here
Since no one of us experience this problem, the solution has heuristic parts
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Tim Dean" <tim.dean@credit-suisse.com> wrote in message
news:26674409.1150719285118.JavaMail.itn@is.intellij.net...
>I have installed 252, still get the same problem on the second attempt to
>use the test runner.
>
>
>
My visual studio hangs as well on unit testing... stacks are attached. (I'm using R# 2.0.252.21)
EDIT:
My machine hung again on the unit test, did the debug thing, this time came up with slightly more info on the call stack... the first time I did the debug, it showed it being caught in SetHTMLContent, the second time it shoed the last call being a callback into OnMessage... maybe an infinite loop? My machine is eating 100% CPU when this occurs...
The second stack trace with the callback is attached.... also I have been unable to duplicate the second call stack no matter how many times I continue and break....so it may be difficult to view... it also only seems to hang (for me) when a unit test fails..
null
Attachment(s):
stacks_attachment.txt
callstack2.txt
1) Are you sure you're trying build 252?
2) VS2003 or VS2005?
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Chadwick Posey" <chad@victorysolutions.com> wrote in message
news:11760246.1150724811284.JavaMail.itn@is.intellij.net...
as I wrote (in the edit above), using R# 2.0.252.21.... here's the screen shots to show versioning...
Attachment(s):
rsharp2.0.gif
msdev7.1.gif
Should I open a tracker (or is there one for this bug)?
Same issue here and same question - is there a tracker open for this issue?
Also, how is it that I would get a later version than 249. I am simply downloading from the website ...
This issue should have been fixed in 2.0.1
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Carl Haydock" <no_reply@jetbrains.com> wrote in message
news:11978965.1156779358363.JavaMail.itn@is.intellij.net...
>> Should I open a tracker (or is there one for this
>> bug)?
>
>