Saturday, March 5, 2011

Why Breakpoints are not working in Visual Studio .net

First we need to go Project properties and enable the debugging

1>Rigth click on the project in solution explorer.
2>click on the property pages.
3>click the start option tab.
4>Under debugger make sure that Asp.net checkbox is checked.

Then we need to enable debugging in the web.config file.
1>open the config file .
2>set the debugg=true


Now enable the Asp debugging


1>Right click on the iis=>Default Web site
2>Click home directory tab and then click on the configuration
3>Click the Debugging tab, and then select the Enable
ASP server-side script debugging check box.
4>click on Send detailed ASP error messages to client if
we want the detailed of the debugging information
4>click Ok

0 comments: