PC Review


Reply
Thread Tools Rate Thread

App only runs in debug mode

 
 
=?Utf-8?B?TGl0dGxlIEdhemVy?=
Guest
Posts: n/a
 
      29th Aug 2006
I can only get our application to work in debug mode. I have compiled in
release mode and I have changed the the web.config's compilation tag to
debug="false", but I experience lots of problems with the application in this
mode. If I include the pdb files and set debug="true", the application works
fine.

Can someone explain to me what's going on or how to properly publish the
application?

Thanks,

Tim

VS2003
ASP.NET 1.1

 
Reply With Quote
 
 
 
 
Karl Seguin [MVP]
Guest
Posts: n/a
 
      29th Aug 2006
It'd be useful if you described the types of problems you are having.

karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/


"Little Gazer" <(E-Mail Removed)> wrote in message
news:41F74CCE-B590-4AEF-A79D-(E-Mail Removed)...
>I can only get our application to work in debug mode. I have compiled in
> release mode and I have changed the the web.config's compilation tag to
> debug="false", but I experience lots of problems with the application in
> this
> mode. If I include the pdb files and set debug="true", the application
> works
> fine.
>
> Can someone explain to me what's going on or how to properly publish the
> application?
>
> Thanks,
>
> Tim
>
> VS2003
> ASP.NET 1.1
>



 
Reply With Quote
 
Mark Rae
Guest
Posts: n/a
 
      29th Aug 2006
"Karl Seguin [MVP]" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME
net> wrote in message news:(E-Mail Removed)...

> It'd be useful if you described the types of problems you are having.


Oh come on, Karl - you've obviously forgotten to take your telepathy pill
this morning!

If you look hard enough at the OP, you can actually see the code...

;-)


 
Reply With Quote
 
=?Utf-8?B?TGl0dGxlIEdhemVy?=
Guest
Posts: n/a
 
      29th Aug 2006
Sorry.

The application locks up on the clients machine forcing them to restart it.
As soon as a load is applied, the application degrades until it no longer
responds.

Thanks,

Tim

"Karl Seguin [MVP]" wrote:

> It'd be useful if you described the types of problems you are having.
>
> karl
>
> --
> http://www.openmymind.net/
> http://www.fuelindustries.com/
>
>
> "Little Gazer" <(E-Mail Removed)> wrote in message
> news:41F74CCE-B590-4AEF-A79D-(E-Mail Removed)...
> >I can only get our application to work in debug mode. I have compiled in
> > release mode and I have changed the the web.config's compilation tag to
> > debug="false", but I experience lots of problems with the application in
> > this
> > mode. If I include the pdb files and set debug="true", the application
> > works
> > fine.
> >
> > Can someone explain to me what's going on or how to properly publish the
> > application?
> >
> > Thanks,
> >
> > Tim
> >
> > VS2003
> > ASP.NET 1.1
> >

>
>
>

 
Reply With Quote
 
Laurent Bugnion
Guest
Posts: n/a
 
      30th Aug 2006
Hi,

Little Gazer wrote:
> Sorry.
>
> The application locks up on the clients machine forcing them to restart it.
> As soon as a load is applied, the application degrades until it no longer
> responds.
>
> Thanks,
>
> Tim


Are you sure that it has to do with the Debug vs Release configuration?
Did you try to install the Debug version on the target machine? I think
you did, but just to confirm.

If yes, then a typical candidate for this type of problems is code
included in the "#if DEBUG" sections. If you're not careful with that,
you can have nasty effects because this code will be missing in the
Release configuration. Also, most developers I know test the Release
configuration too little, if they test it at all. I would start looking
in that direction.

If you don't find anything, try to add tracing to your application, and
study the logs...

Good luck.
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
PhotoAlbum: http://www.galasoft-LB.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA function runs in debug mode but not in macro. Access Newbie Microsoft Access Macros 3 10th Jul 2009 11:54 PM
My machine runs slow in regular mode and fast in safe mode Jackkat Windows XP Basics 5 5th Dec 2008 12:39 AM
Program runs under debug mode but stalls in normal mode Jothishankar Microsoft C# .NET 9 6th Sep 2007 12:04 AM
Email Code OK in debug mode...error when runs outside vwd .spider Microsoft ASP .NET 0 17th Jul 2007 01:18 PM
How to tell if your C# code is running in debug mode (debug compil =?Utf-8?B?TWF4IE0uIFBvd2Vy?= Microsoft C# .NET 3 20th Oct 2005 10:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:02 PM.