You are debugging an ASP.NET Web application by using the Visual Studio debugger. The application is incorrectly handling a SQL Exception on the login page. You need to break execution where the exception is thrown . What should you do?()
- A、Enable the User-unhandled option for SqlException in Visual Studio Exception configuration.
- B、Set the value of the customErrors element‟s mode attribute to “on” in the web.config file.
- C、Manually attach the Visual Studio debugger to Internet Explorer.
- D、Enable the thrown option for SqlException in Visual Studio exception configuration.
正确答案:D
答案解析:有

微信扫一扫手机做题