views:

54

answers:

2

Hi, since moving to Windows 7 (IIS 7.5), the debug assertions do not prompt a pop up dialog anymore.

I have tested this in a separate project, and noticed that they do work when using the integrated Visual Studio Developer server (Cassini) but they do not work when using IIS Web Server.

This is a big issue for us since we are counting on debug assertions to identify potential programming errors, so any help would be appreciated. Thanks. Eyal.

A: 

That's because failed debug assertions are displayed in the Output window now instead, under the Debug section.

To view the Output window in Visual Studio 2008 go to the 'View' menu and click 'Output'.

I also find it inconvenient. Some more info...

vanslly
A: 

That is the default behavior now and it cannot be changed. What you can is generate a file with the assertions that failed in your app. That will still help you track your issues without halting the app when running inside the IIS.

Take a look at this good article about it.

http://bit.ly/ddfMuU

sebastian