RE: Disabling exception trace messages
- From: "Lee Marmara" <lsote@xxxxxxxxxxxxx>
- Date: Fri, 21 Oct 2005 02:35:02 -0700
Further information:
I have created a simple test application that I can build in VC6 and VC7 and
a tick comparison shows the following:
A current quick comparison with 5000 loops (in ticks):
In debugger
Trace: VC6 - 250, VC7 - 7734
Exceptions: VC6 - 344, VC7 - 10672
Outside debugger:
Trace: VC6 - 125, VC7 - 141
Exceptions: VC6 - 63, VC7 - 47
So it is actually 30 times slower!!!
"Lee Marmara" wrote:
> Can you tell me why this now takes so much longer than VC6? With this taking
> so long it now means that our whole development cycle is now effected as
> debug times have slowed by a factor of 10!!! Is there any way we can speed
> this up?
>
> Is this going to be improved in VC2005?
>
> ""Gary Chang[MSFT]"" wrote:
>
> > Hi Lee,
> >
> > >Some of these messages we have managed to supress
> > >using debug levels, but those from first chance exceptions
> > >still occur. These are making debugging a painful process
> > >as it is now significantly slower...
> >
> > The VS2003's debugger will break execution of the program when an exception
> > occurs, and writes an exception message to the Output window, giving you a
> > chance to debug it. You can choose whether or not you want the debugger to
> > break on a given type of exception or on a category of exceptions.
> >
> > This feature is by design in VS.NET 2003's debugger, you can change the
> > debugger's default handling exceptions configuraion in the Debug/Exceptions
> > config dialog, but I am afraid you could not suppress those exception's
> > trace messages, please refer to the following MSDN doc for the details:
> >
> > Changing How the Debugger Handles Exceptions
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm
> > l/vxgrfchanginghowdebuggerhandlesexceptions.asp
> >
> >
> > Thanks!
> >
> > Best regards,
> >
> > Gary Chang
> > Microsoft Community Support
> > --------------------
> > Get Secure! ¡§C www.microsoft.com/security
> > Register to Access MSDN Managed Newsgroups!
> > http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp
> > &SD=msdn
> >
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
.
- Follow-Ups:
- RE: Disabling exception trace messages
- From: "Gary Chang[MSFT]"
- Re: Disabling exception trace messages
- From: Oleg Starodumov
- RE: Disabling exception trace messages
- References:
- RE: Disabling exception trace messages
- From: "Gary Chang[MSFT]"
- RE: Disabling exception trace messages
- Prev by Date: Re: Debug vs. Release
- Next by Date: Re: Disabling exception trace messages
- Previous by thread: RE: Disabling exception trace messages
- Next by thread: Re: Disabling exception trace messages
- Index(es):
Relevant Pages
|
Loading