473,383 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Debugger Hangs when Reading from Stream

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...
Apr 10 '07 #1
2 1331
happens to me as well, howeve ri am reading/writing to a local drive

i end up killing the vshost.exe task
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...

Apr 10 '07 #2

"Jay Parzych" <ji*****@cox.netwrote in message
news:2c**************************@news.east.cox.ne t...
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.

Apr 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jonathan | last post by:
Hi I'm doing a project for school and wrote an applet that makes a socket connection to a server (smae host as webserver) that was setup for this project. In the applet there are 3 buttons and by...
0
by: Nathan | last post by:
This is a copy of a message at microsoft.public.dotnet.framework.clr: THE CODE: I'm using an HttpWebResponse object to send an HTTP POST to a Java server I have written and are running on the...
0
by: Mark Oliver | last post by:
Hi, Ever since i installed SP2 my application can't even step into the first line of my Main function in the debugger; the IDE hangs; i need Windows Task Manager to kill it and my application. ...
1
by: Gregory Hassett | last post by:
Hi, I have a web service called GetComputerNameAndDescription which I can call from the main thread of my app. If I call it from a separate thread, however, it hangs on the call to Invoke() -- but...
4
by: Tom Shelton | last post by:
Problem: XmlTextReader Constructor hangs until underlying socket closes when passed a NetworkStream. Example: Dim reader As New XmlTextReader (New NetworkStream(s, False)) I can...
2
by: Pierre Rouleau | last post by:
Hi all, I have a consistent test case where os.popen3() hangs in Windows. The system hangs when retrieving the lines from the child process stdout. I know there were several reports related to...
1
by: Mathijs | last post by:
Hi, I have a small Compact Framework tcpclient application (c#). This is my connection procedure: tcpclient = new TcpClient(ip, port); stream = tcpclient.GetStream(); Sent("HELLO");...
37
by: PeterOut | last post by:
I am using MS Visual C++ 6.0 on Windows XP 5.1 (SP2). I am not sure if this is a C, C++ or MS issue but fscanf has been randomly hanging on me. I make the call hundreds, if not thousands, of...
7
by: colin | last post by:
Hi, Ive written a 3dmodel editor, and it works fairly well it harldy uses any cpu exept when its loading a texture from bitmap in the debugger, at all other times it hardly uses any cpu but from...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.