
Debugging in ASP.NET
|
All these deficiencies have been changed in .Net Framework because the Common Language Runtime provides integrated debugging for all the applications. The primary objectives for debugging in ASP.NET include both in-process and out-of-process debugging, remote process debugging, managed and unmanaged code debugging, edit and continue, and mixed language support.
You can enable debugging in ASP.NET page by writing the <%@Page debug=True %> page directive at the top of the page. This statement asks the compiler to exclude debugging symbols into the compiled page, and allows the debugger to attach to the running program. But before using the debugger, you should also need to view the web page in the browser so that the debugging symbols are loaded for the page.
The SDK debugger that comes along with .NET SDK can be found in the GuiDebug directory. This debugger has all the features such as viewing contents of variables, setting breakpoints on specific exceptions, expressions, or specific lines, stepping into, out of, and over code, and viewing the call stack, threads and modules as that of Visual Studio debugger except that SDK debugger does not support remote debugging or Edit and Continue features. Therefore it can be presumed that SDK debugger is a read-only debugger that does not allow you to edit code inline. You can just edit the code externally and to view the new changes made in the application you have to rerun the application.
Just-In-Time debugging is another technique to debug a program that is started outside of Visual Studio. If you have enabled Just-In-Time debugging, you can view a dialog box when a crash occurs.
|
How
do you implement Observer Design Pattern in .NET? | How
do you pass data between different Tiers in .NET Architecture? | How
is Classic ADO different from ADO.NET? | How
is Dataadapter useful in ADO.NET? | How
is Datareader different from Dataset in ADO.NET? | How
is .NET Application Development different from Traditional Development?
| How
is HashTable different from ArrayList in .NET? | How
is Inheritance achieved in C#? | How
is new keyword different from override keyword during inheritance in .NET?
| How
is String class different from StringBuilder class in .NET? | Illustrate
ADO.NET Architecture | Illustrate
the importance of Server.Transfer and Response.Redirect in .NET? |
Mention
the different objects available in Dataset of ADO.NET | Mention
the usage of Connection Object in ADO.NET | What
are the commonly used methods of Dataadapter in ADO.NET? | What
are the different Behavioral Design Patterns that can be used in .NET
Architecture? | What
are the different Creational Design Patterns that can be used in .NET
Architecture? | What
are the different Structural Design Patterns that can be used in .NET
Architecture? | What
are the methods provided by Command Objects in ADO.NET? | What
is Internal Access Modifier in C#? |
_______________________________________________________________________
FREE Subscription
Subscribe
to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.
Note
: We never rent, trade, or sell my email lists to
anyone.
We assure that your privacy is respected
and protected.
Visit .NET Programming Tutorial Homepage
______________________________________________________