Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
on debugging we usually get 2 options
1.Modify web.config t enable debuuging
2.Run without debugging

and what will happen if 1st option chosed.
regards
Posted
Updated 22-May-11 23:28pm
v2

Take the first option - it sets the following in your Web.config which you should have.

<compilation debug="true" targetFramework="4.0">


When you release the application set debug to false. Without this setting you will not be able to debug your code.

Documentation here[^].
 
Share this answer
 
It will change the debug setting in your web.config file. Assuming you are running Visual Studio with the web site running for debugging purposes in the ASP.NET development web server on localhost, you can then debug into your C# / VB .NET code in exactly the same way as if you were debugging a WinForms (or any other) application.

Remember to change the debugging option in web.config back again before you deploy to a public web server!

See http://msdn.microsoft.com/en-us/library/e8z01xdh(v=vs.80).aspx[^]
 
Share this answer
 
If click on modify then debug ,trace and other entries will go to web config .
If u click on second option you can run the application without debugging as it is unable to set debug=true in web config
 
Share this answer
 
This is as simple as shown in message.
If you want to debug your application, select the first option.
and if you select the second option, every thing will work but you won't be able to debug your application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900