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.
精彩评论