Why does Windows Explorer search freeze when I have an unrelated program paused in a debugger

Posted by Evgeny on Stack Overflow See other posts from Stack Overflow or by Evgeny
Published on 2010-05-13T23:12:38Z Indexed on 2010/05/13 23:24 UTC
Read the original article Hit count: 182

While debugging my program, whether it's an ASP.NET application or a .NET console EXE and I have the debugger paused at a breakpoint I try to find a file in Windows Explorer. Either pressing WinKey+F or selecting search from the context menu freezes Windows Explorer - until I resume the program being debugged.

My program has nothing to do with Windows Explorer! In fact, this happens in Visual Studio 2008 even with the simplest console EXE (WriteLine and ReadLine). I can't repro it with this simple EXE in WinDbg, but it does happen in with WinDb debugging an ASP.NET app. Why does this happen and how do I fix it? It's bloody annoying, especially when you don't realise what's going on.

This is on Windows XP x64 SP2, running a .NET 3.5 application.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about .NET