Reputation: 833
F5 -> stalls at a random point
Ctrl-F5 -> loads instantly. Meaning I then have to "attach to process" to debug.
This gets annoying if I want to change code and have it reflected straight away.
Would this have something to do with loading source for symbols? I've tried pausing the application when run under normal debug mode but it'll be paused in a different place each time.
Edit: By stalling I mean the application is frozen (splash form with progress bar becomes unresponsive after loading fine for a few seconds). If I hit pause, the main thread's location is never consistent. It will eventually complete loading, after some point, indicating that it's waiting for something, although this waiting period seems to change as well.
Symbol server for Microsoft pdbs is unchecked. Enabled .NET Framework source stepping is unchecked. Enabled Just My Code is checked. Enabled source server support is unchecked.
Upvotes: 3
Views: 563
Reputation: 2264
A known but sporadic problem, has a long history since Visual Studio 2005. The problem affects multithreaded applications which do some I/O operations with completion callbacks. My personal receipt to workaround this issue:
Upvotes: 1