top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?

0 votes
34 views
How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doesn't use code-behind?
posted Sep 28, 2015 by Jayshree

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

0 votes

Start the DbgClr debugger that comes with the .NET Framework SDK, open the file containing the code you want to debug, and set your breakpoints. Start the ASP.NET application. Go back to DbgClr, choose "Debug Processes" from the Tools menu, and select "aspnet_wp.exe" from the list of processes. (If "aspnet_wp.exe" doesn't appear in the list then check the "Show system processes" box.) Click the "Attach" button to attach to "aspnet_wp.exe" and begin debugging.

Be sure to enable debugging in the ASPX file before debugging it with DbgClr. You can enable ASP.NET to build debug executables by placing a:

<%@ Page Debug="true" %>

statement at the top of an ASPX file or a:

<COMPILATION debug="true" />

statement in a Web.config file.
answer Sep 28, 2015 by Shivaranjini
Similar Questions
+1 vote

This example shows you how to check given input contains only numbers (digits) or not using regular expression in asp.net and c#.

Regular expression
string strRegexpNumber = @"^[0-9 ]*$";

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...