IIs 断点调试

1.在iis建立一个网站

2. 确保程序是debug模式编译

3.Website -> Property -> Start Options -> Use custom server

4. 在VS中 Debug -> Attache to Prcesses 选择所有aspnet_wp.exe(xp) 或者w3wp.exe(win 2k3). 按Attach按钮。

应该可以进入断点