Debugger Hangs when Reading from Stream

J

Jules Winfield

I've been experiencing a problem recently where the debugger hangs for up to
ten seconds, even when executing very simple operations (i.e. adding two
numbers). During the hang, a little popup appears in the toolbar saying that
"Visual Studio is busy waiting for an operation to complete" and the IDE is
completely frozen.

The hang occurs when one or more background threads are:
1) performing file-read operations via StreamReader, AND...
2) the file being read is located on a network share (as opposed to the
local hard drive).

Everything works perfectly when run outside of the debugger. No exceptions
are being thrown. The code is solid and far as I can tell.

I've run into this problem on previous projects as well. Is there a known
issue with the debugger when performing background I/O operations against
files on a network share?

Thanks...
 
J

Jay Parzych

happens to me as well, howeve ri am reading/writing to a local drive

i end up killing the vshost.exe task
 
J

Jules Winfield

Jay Parzych said:
happens to me as well, howeve ri am reading/writing to a local drive

i end up killing the vshost.exe task

Are you and I the only two people experiencing this problem? :(

I've searched around and can't find a solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top