按《c#入门经典》的说法,程序运行到System.Diagnostics.Debug.Assert(false,"sdasd","sffsfds");这种时候应该中断程序,可是我在ASP.NET(c#)中的该语句并没能中断程序,只是在OutPut窗口弹出下列信息,百思不得其解,请高手指点!---- 调试断言失败 ----
---- 断言短消息 ----
sdasd
---- 断言长消息 ----
sffsfds at Miss_Center.Page_Load(Object sender, EventArgs e) c:\inetpub\wwwroot\greatoa\buy\miss_center.aspx.cs(48)
at Control.OnLoad(EventArgs e)
at Control.LoadRecursive()
at Page.ProcessRequestMain()
at Page.ProcessRequest()
at Page.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
---- 断言短消息 ----
sdasd
---- 断言长消息 ----
sffsfds at Miss_Center.Page_Load(Object sender, EventArgs e) c:\inetpub\wwwroot\greatoa\buy\miss_center.aspx.cs(48)
at Control.OnLoad(EventArgs e)
at Control.LoadRecursive()
at Page.ProcessRequestMain()
at Page.ProcessRequest()
at Page.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at HttpApplication.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
解决方案 »
- IrisSkin使用后窗体textbox没有智能提示了
- 使用WndMessage的时候需要引用些什么类啊 ?
- 一个文件流计算行数的问题,急
- 如何捕捉滚动条移动事件?
- .net中熟悉activex的朋友请近来
- WebBrowser如何插入图片?
- 请问如何输入那个版权所有的符号?就是圆圈里有个C的那个符号?~~~~~~~汗~
- 100分求一个简单的c#源代码
- 请问怎么实现:首先判断有无目录“aaa”,如果有,则不管目录内容是否为空,都删除掉该目录。
- 请问在什么控件中既可以画图,又可以设置scrollbar的?
- 简单的图片查找问题,来的就有分
- 请各位兄弟指教ado.net + access +windowsapplication 中如何访问带密码的access数据库啊
---- 断言短消息 ----
sdasd
---- 断言长消息 ----
sffsfds
这个消息应该再一个弹出的对话框中出现,且程序进入断点;但是我以上信息在output窗口出现,页面完整显示了,