Do we need setup "Debug = True" in web.config for debugging client-side debug?
The question is as the subject.
When we debug client-side script, we need uncheck "Disable script debugging" in IE; attach debugger to the process of iexplore.exe; set breakpoints in clientside codes, but is that for sure we need to config web.config to allow debug?
But we do need this step if we want to debug ASP.NET applications, right?
Thanks...Compilation debug = "true" vs. debug ="false"
If I run my site with debug="false" I get errors and can't make it past the login page. If I run my site with debug="true" the whole site runs as it is supposed to.Is this common?
What kind of errors are you getting?
For whatever reason, I am no longer getting any errors. I can't recall exactly what errors I was getting when things weren't working properly.At any rate, it's back to the way it should be.Thank-you for your reply, voodoo9055. Your help, advice and expertise is always appreciated....debug="false", website fails... debug="true" website works...
I've got an ASP.Net website (ASP.Net 2.0 running on Windows Server 2003 R2 all SP applied) that does not run when web.config has debug="false". The error says to set debug="true" to see what the error really is. Problem is, when I set debug="true" the error goes away and the site runs fine.
Here's an example of the error output:
Unable to cast object of type 'ASP.display_articlelink_ascx' to type 'Display_ArticleLink'.
I have a user control called Display_ArticleLink that I load like this: Dim objArtLink As Display_...microsoftajax.debug.js not loaded when debug="true"
Hi,I set ScriptMode="Debug" on the scriptmanager on my page and <compilation debug="true"> in web.config, but still microsoftajax.js is loaded instead of microsoftajax.debug.jsWhat am I missing here?Thanks,Thomas
Check your machine.config for retail=true, that will override anything you do in the script manager. I think this functionality is designed so that you don't accidentally try to debug a production server (obvious perf issues)Cheers,Jim WangMicrosoft (ASP.NET)http://weblogs.asp.net/jimwang
Thanks for the help, but I don't even have a...compilation defaultLanguage="vb" debug="true" ERROR
I don't have this error when I visit the site on 127.0.0.1
But I have it when I visit my site on the internet!!
Server Error in '/' Application.
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineOnly' beyond machi...Web Deployment Projects - Web.Config
Ok, one question. I really like the Web Deployment Project beta, but I am looking for what should be a simple solution and can't find it. Currently, the only way to set an ASP.Net project so that it is not in Debug mode is to set it as so in Web.config...<compilation debug="false">This means that every time I want to compile the app for release, I have to make sure I make this change in web.config. With the Web Deployment Project release, I thought I could create a compilation.config file and then set the property pages of the project to include "compilation=compilation.config" s...Visual studio 2005 not entering in to debug mode although i set debug="true"
Hi,i have a peculiar problem with vs.net 2005. when i press F5 and run the application, my webpage is displayed in the browser but visual studio doesn't entering into debug mode and still the pause and end buttons on the tool bar shows disabled which means my application is not running. till yesterday it was working fine. i checked the web.config file and the debug mode is set to "true" ..debug="true".my operating system config.xp with sp2vs2005 with sp1recently i installed .net framework 3.5 on my computer.Please help me. i am stuck with it. Click “M...<compilation debug="false">in web.config throwing "Thread abort exception"
In Production server, <compilation debug="false"> throwing "Thread abort exception" for long running processes for more than 15-20 mins
Event log message : Exception type: ThreadAbortException
Exception message: Thread was being aborted
Can anybody help us!!!
It may have nothing to do with the debug mode.
Is it possible the Session or Application is timing out and shutting down your thread while it's still trying to run?
Steve Wellens My blog...debug="true" ignored
got me a site, and on this site i get an error.
this is all good, if only i could see this error.
its a nullreference exeption wich i could probably solve if i could see it.
because it is like this: it says i have to type debug="true" either in my page directive (control directive in this case) or in my webconfig file.
now, i have it in my webconfigfile, actually i have 2 of em, one in the root of the application, and one in the root of my project, and in both of em i have debug="true" i also tried it in my file aswell. but no luck..
drivin me nuts, any help appreciated
-And..."The project is not configured to be debugged"
I inherited an asp.Net 2003 project (VB). When I try to run it from the IDE I get the following error:
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
However, the project configurayion is in Debug mode and the web.config file has debug="true".
Can anyone help?
Do you have your local instance of IIS configured correctly? You may need to set up a virtual directory whose local path is C:\[path to your solution ...VS.NET 2005 is ignoring in web.config strict="true". I get no error when I try this: Dim x As Integer = "string"
Hello,I have this in my VS.NET 2005 web.config
<compilation debug="true" strict="true" explicit="true">When I do this in my vb code:Dim x As Integer = "string"I get no error. When I hit compilation I also get no error. What am I doing wrong?Thanks for helping!Regards,J. Bauer
It's a bug of some sort
See this response by Scott Guthriehttp://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=3c1c9898-8076-4f69-a5e2-e99573d03c6e
Unfortunately we don’t have a GUI based way to configure this. L It is something we will make sure gets added back in, though, with the next...XE5 cannot debug with "release" config
[Delphi® XE5 Version 19.0.14356.6604]
it seems it's no longer possible to debug (place breakpoints), with "release" build configuration.
Note that this was possible with XE4 and lower versions
For further infos, here are the steps to reproduce
1. create the simpliest win32 application
2. select build configuration as "release"
3. place a breakpoint somewhere in your code
4. goto menu > run > run (F9)
5. the breakpoint defined in 3. is disabled, altough it should not
"Didier Cabalé" <=?Utf-8?Q?Didier_Ca...<compilation debug="false"> in web.config throwing "Thread abort exception
In production server,<compilation debug="false"> in web.config throwing "Thread abort exception" for long running processes(15-20 mins).
Can anybody help us !!!
In a web application context, you shouldn't really have the need for things to run 15-20 minutes. You run a strong risk of falling foul of HTTP timeouts and the like. You would do better to restructure your code to do the processing as a separate job from serving the web page....superreview granted: [Bug 257230] Debug output "GpiQueryBitmapBits failed" from nsDrawingSurfaceOS2.cpp : [Attachment 157251] Include debug output into #DEBUG statement
Michael Kaply (IBM) <firstname.lastname@example.org> has granted Michael Kaply (IBM)
<email@example.com>'s request for superreview:
Bug 257230: Debug output "GpiQueryBitmapBits failed" from
Attachment 157251: Include debug output into #DEBUG statement
------- Additional Comments from Michael Kaply (IBM) <firstname.lastname@example.org>
sr=blizzard (platform specific)
a=mkaply for 1.8a5 and 1.7