|
-
Jul 26th, 2004, 10:15 AM
#1
Thread Starter
Fanatic Member
Debugging Question
I've been preparing for my asp.net exam and came across some example questions. This question, which came from 2 different sources has 2 different answers.
-------------------------------------------
You create an ASP.NET application. You implement tracing and debugging instrumentation. The application is deployed on your company's intranet.
After working with the application for several days, users report that some pages are displaying errors that incorrectly identify valid date values as being invalid.
You need to gather debugging information from the application while it is running in the production environment. You need to perform this task with the least impact on the performance of the application.
What should you do?
a. Enable Debug mode in the application's Web.config file on the production server. Use Visual Studio .NET on your client computer to select Debug Processes from the Tools menu and attach to the aspnet_wp.exe process on the production server.
b. Enable Debug mode in the application's Web.config file on the production server. Use Visual Studio .NET on your client computer to open the application project on the production server and select Start from the Debug menu.
c. Enable application tracing and disable tracing page output in the application's Web.config file on the production server. View the debugging information on the trace.axd page.
d. Enable application tracing and disable tracing page output in the application's Web.config file on the production server. Run DbgClr.exe and attach to the aspnet_wp.exe process on the production server.
---------------------------------
One source gives A as the answer and the other gives C.
I would go for C but would appreciate feedback from you guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|