Showing posts with label debug. Show all posts
Showing posts with label debug. Show all posts

Thursday, March 29, 2012

performance of release vs debug build

Hi,
Up until now I have been shipping debug builds of my asp.net
application and including the pdb files too, even into production
systems, primarily because it gives us proper stack traces with line
numbers in the event of an exception. I haven't been aware of any
stability, memory or performance problems with the application, even
for sites that have been running 24/7 for months with worker process
recycling disabled.
is there any reason I shouldn't continue doing this indefinitely and
only switch to release builds if a customer needs a really highly
tuned system, or are there some gotchas with debug builds?
a related question - any general guidelines as to how much faster C#
code performs in release build? as for most asp.net apps I would
anticipate that the system load of the application as a whole is
probably 50% IIS/franework, 50% database and only a miniscule amount
for my processing.
cheers
AndyHi,
See:
http://weblogs.asp.net/scottgu/arch...0_-enabled.aspx
Note also the followup link in the post.
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net
<ajfish@.blueyonder.co.uk> wrote in message
news:1178872287.825311.58920@.h2g2000hsg.googlegroups.com...
> Hi,
> Up until now I have been shipping debug builds of my asp.net
> application and including the pdb files too, even into production
> systems, primarily because it gives us proper stack traces with line
> numbers in the event of an exception. I haven't been aware of any
> stability, memory or performance problems with the application, even
> for sites that have been running 24/7 for months with worker process
> recycling disabled.
> is there any reason I shouldn't continue doing this indefinitely and
> only switch to release builds if a customer needs a really highly
> tuned system, or are there some gotchas with debug builds?
> a related question - any general guidelines as to how much faster C#
> code performs in release build? as for most asp.net apps I would
> anticipate that the system load of the application as a whole is
> probably 50% IIS/franework, 50% database and only a miniscule amount
> for my processing.
> cheers
> Andy
>
Thanks very much for these links
it seems to me that we can continue to use a debug build for the code
in the application without too much penalty, but should definitely use
debug=false in the web.config
On 11 May, 10:08, "Teemu Keiski" <jot...@.aspalliance.com> wrote:
> Hi,
> See:[url]http://weblogs.asp.net/scottgu/archive/2006/04/11/Don_1920_t-run-prod...[/ur
l]
> Note also the followup link in the post.
> --
> Teemu Keiski
> AspInsider, ASP.NET MVPhttp://blogs.aspadvice.com/jotekehttp://teemukeiski
.net
> <ajf...@.blueyonder.co.uk> wrote in message
> news:1178872287.825311.58920@.h2g2000hsg.googlegroups.com...
>
>
>
>
>
>
>
> - Show quoted text -
Yup, that's what Scott says to be a sort of "compromise"
Teemu
<ajfish@.blueyonder.co.uk> wrote in message
news:1178876244.123360.92750@.e65g2000hsc.googlegroups.com...
> Thanks very much for these links
> it seems to me that we can continue to use a debug build for the code
> in the application without too much penalty, but should definitely use
> debug=false in the web.config
> On 11 May, 10:08, "Teemu Keiski" <jot...@.aspalliance.com> wrote:
>

Wednesday, March 21, 2012

Permissions Problem?

Hello All,
I can't seem to get my project to run in debug mode. When I run the web
application it says, "Error while trying to run project: Unable to start
debugging on the web server."
Any ideas?
LandersHi:
To resolve this problem, you must restart IIS. To do this, type iisreset at
a command prompt. - MS Knowledge Base.
Hope this helps.
Thanks,
Hrishi
"Landley" wrote:

> Hello All,
> I can't seem to get my project to run in debug mode. When I run the web
> application it says, "Error while trying to run project: Unable to start
> debugging on the web server."
> Any ideas?
> Landers
>
>
Hope this helps!
http://support.microsoft.com/defaul...kb;en-us;306172
Hrishi
"Landley" wrote:

> Hello All,
> I can't seem to get my project to run in debug mode. When I run the web
> application it says, "Error while trying to run project: Unable to start
> debugging on the web server."
> Any ideas?
> Landers
>
>
Thanks for your reply.
I have already tried the iis restart, and have already reinstalled ASP and
checked that the server components were installed also. Still no joy.
Any other ideas?
Landers
"Hrishi R" <HrishiR@.discussions.microsoft.com> wrote in message
news:E7BD5245-629D-4790-B8FA-325B951DA60D@.microsoft.com...
> Hope this helps!
> http://support.microsoft.com/defaul...kb;en-us;306172
> Hrishi
> "Landley" wrote:
>
This issue seems to be when I am running the IDE on the local machine (the
web server), as I have just connected and debugged remotely.
Any ideas why this is?
Landers.
"Landley" <news@.creations-software.co.uk> wrote in message
news:Oy%23u1OJzEHA.2692@.TK2MSFTNGP10.phx.gbl...
> Thanks for your reply.
> I have already tried the iis restart, and have already reinstalled ASP and
> checked that the server components were installed also. Still no joy.
> Any other ideas?
> Landers
> "Hrishi R" <HrishiR@.discussions.microsoft.com> wrote in message
> news:E7BD5245-629D-4790-B8FA-325B951DA60D@.microsoft.com...
web
start
>
Hello All,
I am having the same problem as Landers, any solutions ?
Angie
From http://www.developmentnow.com/g/8_2...elopmentnow.com
Hi, Angie.
Have you tried the solutions offered at :
http://support.microsoft.com/defaul...kb;en-us;306172
?
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================
"Angie" <miewtee.ng@.citigroup.com> wrote in message
news:7939e9e7-b3f1-4fe5-ace2-ef403aa5c5e2@.msnews.microsoft.com...
> Hello All,
> I am having the same problem as Landers, any solutions ?
> Angie
> From http://www.developmentnow.com/g/8_2...ons-Problem.htm[/c
olor]

Permissions Problem?

Hello All,

I can't seem to get my project to run in debug mode. When I run the web
application it says, "Error while trying to run project: Unable to start
debugging on the web server."

Any ideas?

LandersHi:

To resolve this problem, you must restart IIS. To do this, type iisreset at
a command prompt. - MS Knowledge Base.

Hope this helps.

Thanks,
Hrishi

"Landley" wrote:

> Hello All,
> I can't seem to get my project to run in debug mode. When I run the web
> application it says, "Error while trying to run project: Unable to start
> debugging on the web server."
> Any ideas?
> Landers
>
Hope this helps!
http://support.microsoft.com/defaul...kb;en-us;306172

Hrishi

"Landley" wrote:

> Hello All,
> I can't seem to get my project to run in debug mode. When I run the web
> application it says, "Error while trying to run project: Unable to start
> debugging on the web server."
> Any ideas?
> Landers
>
Thanks for your reply.

I have already tried the iis restart, and have already reinstalled ASP and
checked that the server components were installed also. Still no joy.

Any other ideas?

Landers
"Hrishi R" <HrishiR@.discussions.microsoft.com> wrote in message
news:E7BD5245-629D-4790-B8FA-325B951DA60D@.microsoft.com...
> Hope this helps!
> http://support.microsoft.com/defaul...kb;en-us;306172
> Hrishi
> "Landley" wrote:
> > Hello All,
> > I can't seem to get my project to run in debug mode. When I run the web
> > application it says, "Error while trying to run project: Unable to start
> > debugging on the web server."
> > Any ideas?
> > Landers
This issue seems to be when I am running the IDE on the local machine (the
web server), as I have just connected and debugged remotely.

Any ideas why this is?

Landers.

"Landley" <news@.creations-software.co.uk> wrote in message
news:Oy%23u1OJzEHA.2692@.TK2MSFTNGP10.phx.gbl...
> Thanks for your reply.
> I have already tried the iis restart, and have already reinstalled ASP and
> checked that the server components were installed also. Still no joy.
> Any other ideas?
> Landers
> "Hrishi R" <HrishiR@.discussions.microsoft.com> wrote in message
> news:E7BD5245-629D-4790-B8FA-325B951DA60D@.microsoft.com...
> > Hope this helps!
> > http://support.microsoft.com/defaul...kb;en-us;306172
> > Hrishi
> > "Landley" wrote:
> > > Hello All,
> > > > I can't seem to get my project to run in debug mode. When I run the
web
> > > application it says, "Error while trying to run project: Unable to
start
> > > debugging on the web server."
> > > > Any ideas?
> > > > Landers
> > >
Hello All,

I am having the same problem as Landers, any solutions ?

Angi

From http://www.developmentnow.com/g/8_2...ions-Problem.ht

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
Hi, Angie.

Have you tried the solutions offered at :
http://support.microsoft.com/defaul...kb;en-us;306172

?

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Espaol
Ven, y hablemos de ASP.NET...
======================

"Angie" <miewtee.ng@.citigroup.com> wrote in message
news:7939e9e7-b3f1-4fe5-ace2-ef403aa5c5e2@.msnews.microsoft.com...
> Hello All,
> I am having the same problem as Landers, any solutions ?
> Angie
> From http://www.developmentnow.com/g/8_2...ons-Problem.htm