开发者

turn on assert in asp.net

My ASP.NET asserts aren't firing. Build configuration is debug. what gives?

EDIT: They are firing and silently hangin开发者_如何学JAVAg my website (exiting the thread).


I believe you probably lack this:

<system.diagnostics>
   <assert assertuienabled="true" />
</system.diagnostics>

in your web.config.


Are you using a separate server for your development ? Because an Assert will trigger a modal message box on your server which will hang your website until the message box is closed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜