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... 2 1350
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...
"Jay Parzych" <ji*****@cox.ne twrote in message
news:2c******** *************** ***@news.east.c ox.net...
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 pressing one of them it
triggers a specific query, like getting the server uptime, date or who (is
online). The problem is that when I press one of the buttons it send the
query to the server, reads from the BufferedReader. This goes all well but...
|
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 same machine (for dev and testing). Here is the C# code snippet:
1 string clientAddr = "http://127.0.0.1:22225/";
2 try
3 {
4 webreq = (HttpWebRequest)WebRequest.Create( clientAddr );
|
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. My application runs outside the
debugger, in 2005 Beta's debugger (i am using .Net Framework 1.1 SP1, i
can't use Beta for my customer), and in the 1.1 debugger on another PC that
doesn't have SP2 installed.
What could cause the hang?
|
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 only if I'm in the
debugger. Here's a stack trace with non-user code shown -- the call to
RegisterNotifySource, at the top of the stack, never returns -- I have to do
a "break all" inside the debugger, then find this thread and examine its
call...
|
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 positively confirm by the way that this only happens AFTER
installation of SP1 for framework 1.1. So, has anyone else have this
| |
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 os.popen3() hanging under
Windows in this group before.
I stumbled on a case where a piece of code works in some occasions and
hangs consistently given different data. It performs exactly the same
on 3 different computers running Windows:
|
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");
stream.BeginRead(ReadBuffer, 0, ReadBuffer.GetLength(0), new
|
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 times but it hangs in different places with the same data. The
offending code follows.
ReadFile(char *csFileName)
{
float fFloat1, fFloat2;
|
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 the debugger even in release mode it takes a second or so
to load a 65k texture, with a 2ghz pc this is 10k instructions per pixel !
I cant understand what its doing here, can anyone shed any light on this ?
I have the d3d debug turned off...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |