K
Ken Allen
I have been using Visual Studio 2005 for some time now, and generally it
works fine. Recently I have been adding some threading logic to one of
my applications to permit the user interface to be updated while some
other process (CPU or I/O bound) is executing.
Before I added the threading the code worked fine and I could set
breakpoints anywhere and they were hit very quickly.
After adding the threading, the code executes very quickly, even
producing an exception, as long as there are not breakpoints in the
threaded code. As soon as I set a breakpoint in the threaded code, it
can take 30-45 seconds for my breakpoint to be hit! Even when I do hit
the breakpoint, and debug command (Continute, Step Over or Step Into)
seems to abort the thread!
Am I missing something in the configuration of the IDE?
-ken
works fine. Recently I have been adding some threading logic to one of
my applications to permit the user interface to be updated while some
other process (CPU or I/O bound) is executing.
Before I added the threading the code worked fine and I could set
breakpoints anywhere and they were hit very quickly.
After adding the threading, the code executes very quickly, even
producing an exception, as long as there are not breakpoints in the
threaded code. As soon as I set a breakpoint in the threaded code, it
can take 30-45 seconds for my breakpoint to be hit! Even when I do hit
the breakpoint, and debug command (Continute, Step Over or Step Into)
seems to abort the thread!
Am I missing something in the configuration of the IDE?
-ken