473,748 Members | 7,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

making debug=true in web.config slows the application

Hi,

I want in debug mode debug=true. In release (production), no reason debug to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
Nov 19 '05 #1
6 1827
dude.... with the sheer amount you've posted lately have you thought you may
want to get a book or try google?
Now I dont think anyone here has issues with helping out, it's why we come
here, but it almost seems like either you aren't trying at all or you just
want someone else to do your work for you....

Just my $.02 worth, not meant to offend, just offering constructive advise.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@hace b.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
Hi,

I want in debug mode debug=true. In release (production), no reason debug
to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #2
use two different web.config files, one with production settings, one with
development settings, dont release this with your apps unless you have to
make a change.

It's what most people I know do, or they adjust their web.config prior to
release, then reset it in dev.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@hace b.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
Hi,

I want in debug mode debug=true. In release (production), no reason debug
to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #3
thanks! but My Issues sometimes are difficult and I cant find them on
google! or maybe I dont know to search.

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
"Curt_C [MVP]" <software_AT_da rkfalz.com> escribió en el mensaje
news:e1******** ********@tk2msf tngp13.phx.gbl. ..
use two different web.config files, one with production settings, one with
development settings, dont release this with your apps unless you have to
make a change.

It's what most people I know do, or they adjust their web.config prior to
release, then reset it in dev.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@hace b.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
Hi,

I want in debug mode debug=true. In release (production), no reason debug to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/


Nov 19 '05 #4
Luis,
I have to agree with Curt. I've skipped over one of your questions earlier
simply because you've asked so much. I'm not sure that you realize this but
most of the people who answer questions on here do so voluntarily. I
don't mind helping out, but most of the stuff you ask could easily be
encouvered via google or from a book...that's fine once, but frankly, why
don't you just ask us to write your application for you?

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Curt_C [MVP]" <software_AT_da rkfalz.com> wrote in message
news:uC******** ********@TK2MSF TNGP10.phx.gbl. ..
dude.... with the sheer amount you've posted lately have you thought you may want to get a book or try google?
Now I dont think anyone here has issues with helping out, it's why we come
here, but it almost seems like either you aren't trying at all or you just
want someone else to do your work for you....

Just my $.02 worth, not meant to offend, just offering constructive advise.
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@hace b.com> wrote in message
news:%2******** **********@TK2M SFTNGP12.phx.gb l...
Hi,

I want in debug mode debug=true. In release (production), no reason debug to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/


Nov 19 '05 #5
A query like the following should get you in the right direction, no?

http://www.google.com/search?hl=en&l...Amicrosoft.com

--
Scott
http://www.OdeToCode.com/blogs/scott/
thanks! but My Issues sometimes are difficult and I cant find them on
google! or maybe I dont know to search.

Nov 19 '05 #6
Luis, I'm not aware of a way to automate configuration differences in
Web.config across DEV / TEST / PROD. In our environment we manage this as
follows;

+ All web projects have a /deploy/test and /deploy/prod subdirectory,
containing any files that supercede the DEV versions. Web.config is the
most common entry here, but on occasion certain XML files, etc may change
during deployment.
+ We maintain the DEV, TEST, and PROD versions of these files separately.
DEV files being in the normal location within the source. All files are
managed in source control.
+ At deployment, we run a custom tool that deploys the files from (e.g.)
DEV to TEST, and then overlays the files from the /deploy/test directory.
This ensures that anything different between DEV and TEST, or between TEST
and PROD, can be handled automatically at deployment.

If you cannot find a better option, you might consider going this route.
There are other advantages to the custom-deployment-tool approach as well,
like being able to send email notifications to the TEST team, logging
deployment events in a database, updating change histories from source
control, avoiding the copy of undesired files (*.cs, *.scc, etc) and
directories (/deploy/*, /debug/*, etc), temporarily displaying a "The site
is being updated" message, and so on.
"Luis Esteban Valencia" <lu*******@hace b.com> wrote in message
news:#5******** ******@TK2MSFTN GP12.phx.gbl...
Hi,

I want in debug mode debug=true. In release (production), no reason debug to be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true and in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3067
by: Voronkov Konstantin | last post by:
Hello, All! I have following problem with std::string class. I exproted class from dll which has function which returns std::string. I compiled dll in *release* configuration (using Multithreaded Dll run-time library) I imported class in application and called function which returns
0
1579
by: Chris | last post by:
Hi We're porting an MFC application from VS 5.0 to VS 7.0 (using pure C++ only). There is a problem when the application exits: ... 'ratv_client.exe': Unloaded 'C:\WINDOWS\system32\version.dll' The thread 'Win32 Thread' (0xd4c) has exited with code 3 (0x3). Detected memory leaks! ...
8
1716
by: Mihajlo Cvetanoviĉ | last post by:
My application crashed (with the "cannot read memory, press OK to terminate or Cancel to debug" message) on the machine that has VC7.1. I just copied the original project with pdb file to that machine, opened the project, pressed Cancel to the above message, and chose this instance of Visual Studio. But I couldn't step through my code, only through internal MFC code. Does anybody knows what am I doing wrong?
2
2414
by: johdi | last post by:
Hey there, This is no doubt demonstrating how cruddy my understanding is - what are the performance implications of having left the Debug=true value in your web.config file but not building/deploying the PDB symbol file? Thanks for your help.
1
1261
by: Wade | last post by:
Hi all, We have a debate going on here in the office. There's one group that would prefer to have our LIVE environment with debugging turned on, because it's convenient when there's an error, and another (myself included) that would prefer not to have debugging turned on. So, I ask you all: is there really a significant overhead in having this turned on? And by turned on, I mean that all PDB files are copied out into the \bin...
1
1502
by: Steve Franks | last post by:
Is there a way I can have my options set up so that on the production machine debug=false is always used, but on my dev machine debug=true is used? Currently I do not know how to do this, because my web.config file is shared between both dev and production. In other words if I change it in dev and then forget to change it back before doing a Copy Web Site command then I'll accidentially publish the debug=true config setting on the...
1
1080
by: Rv0 | last post by:
I have written a VB.Net (v69586...) application which is targetted for Windows 2000 SP4 clients running dotNet framework V1.0.03705 and 1.1. This application works fine on about 50% of the 100 clients and shows an error dialog on the other machines. The shown error message is rather cryptic though: "Application has generated an exception that could not be handled Process id =0x69c (1692), thread id=0x1e4 (484). Click OK to terminate...
0
1168
by: RonL | last post by:
Using Visual Studio, what is the difference between using Configuration Manager to set the Active Solution Configuration to Debug/Release and using Web.config to set Compilation to "debug=true". Does one option override the other? Example if I set the Active Solution Configuration to "Release" and the Compilation option to "debug="true" does the dll created by the build include debug information? Ron
1
982
by: john_c | last post by:
Is setting Debug=true in the config file the same as compiling with the IDE set to debug? Thanks, John
0
8826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9534
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9316
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9241
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4597
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2211
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.