试题详情
单项选择题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
  • 关注下方微信公众号,在线模考后查看

热门试题