"Ignore and continue" while debugging on Visual Studio (2008 & 2010) in C# possible? -


is there way "ignore , continue" instead of "restart" , "edit" when c# file in solution changed while debugging?

way reproduce it:

  1. i have solution contains project , project b.

  2. while debugging project a, make changes project b (a typical example network client/server debugging session).

  3. carry on debugging session on becomes impossible (eventhough code totally unrelated in terms of execution) if "edit" fails.

i searched in vs options without luck.

splitting solutions multiple solution file not acceptable answer (i have files links , , proves unconvenient due libraries , dependency... whole point of having solution file in first place)

undo changes (ctrl+z) , press f5 continue.

if want retain changes later use, can keep them in clipboard or restore them using ctrl+y later.

i assume ignore option not exist because not make sense debug source code has become out of sync, e.g. debugger no longer highlight correct lines etc.


Comments