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 hanging my website (exiting the thread).

13.10.2009 16:38:06
2 ОТВЕТА
РЕШЕНИЕ

I believe you probably lack this:

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

in your web.config.

1
13.10.2009 16:42:23
is there a way to make them more intrusive (not just log to output, like actually get in my face)
Dustin Getz 13.10.2009 16:47:03

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
13.10.2009 16:43:15
VS is running on the same host as the server. But I see no box.
Dustin Getz 13.10.2009 16:48:22