i did this work Tools->Options->Debugging 'Break all processes when one process breaks' is enabled that time also same problem existing
Asked
Active
Viewed 6,724 times
3 Answers
6
Visual Studio has a feature called Edit and Continue. This means you can break the execution, do the change, and then resume it (providing that the changes can be compiled and that the change is supported by Edit and continue).
In other words, you cannot exactly change the code while the app is running, but you can break it shortly and change the source using the debugger.

vgru
- 49,838
- 16
- 120
- 201
5
Visual Studio supports "Edit and Continue": a feature which allows you to pause using the debugger, edit your code, then resume execution. An article on Edit and Continue in C# is available here.

user200783
- 13,722
- 12
- 69
- 135
2
You can't if you are target a 64 bit machine however.
-
1Actually, you can debug on a 64-bit *machine*, but the target CLR cannot be 64-bit (you would have to set target to x86). Not sure if this issue is going to be solved in VS2010. – vgru Nov 02 '09 at 09:42
-
1Update from the docs: "Edit and Continue is supported for 64-bit projects that target the .NET Framework 4.5.1." – Xcelled Apr 27 '14 at 06:56