VS 2010中的分步执行 [英] Step by Step execution in VS 2010

查看:77
本文介绍了VS 2010中的分步执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我使用的是VS2010.使用F10逐步执行程序时,显示控件之前要进行一步.

Hi
I m using VS 2010. While doing Step by Step execution of the progam using F10 , one step before it showing the control.

#region Control is here instead of next line<br />

if(type.Equals("temple"))
{
    MessageBox.Show("rameshwaram");
}
#endregion



我找不到控件在哪里以及type(string)的值是什么.
如何将(调试)光标更改为正确的行?

在此先感谢
Saranya1388



I couldn''t find where the control is and what is the value of type(string).
How to change the (debug) cursor to correct line?

Thanks in advance
Saranya1388

推荐答案

通常在源和对象不匹配时发生.尝试重建您的项目,看看是否能解决问题.
This usually happens when the source and object do not match. Try rebuilding your project and see if that fixes it.


这篇关于VS 2010中的分步执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆