断点不起作用
文件名叫做View.aspx.cs,文件的代码结构为:
namespace Forum
{
public class View : System.Web.UI.Page
{
public View()
{
Page.Init += new System.EventHandler(Page_Init);
}
private void Page_Init(object sender, EventArgs e)
{
InitializeComponent();
}
#region Web Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.ToPage.Click += new System.EventHandler(this.ToPage_Click);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void Page_Load(object sender, System.EventArgs e)
{
if (!Page.IsPostBack)
{
SetModel();
DirPath();
SetConfig();
IsValidate();
ExeInfo();
ForumInfo();
ShowStates();
//这里是所有实现功能的方法的方法体
[color=#FF0000]问题:好像断点不起作用一样。不论将断点设在任何位置,都不能跳出程序,进行测试。请问这是神马原因造成的???
[/color]
}
}
}
}