按以下的设置。
VS2010调试时能够修改代码的设置方法,VS2010调试:“编辑并继续”
原文:http://blog.csdn.net/anjoly/article/details/45363679