Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Wed, 23 Jul 2008 02:12:36 -0700 (PDT),    group: microsoft.public.vstudio.general        back       


Debugging question - 100% cpu utilisation   
Hi all

My Windows program has now developed an annoying habit of consuming
100% cpu utilisation after some thing specific happening.  But not yet
sure how this is caused.  It doesn't seem to crash - no access
violations or anything of that sort.

I suspect it is caught in a busy loop or something.

I am running my program in Visual Studio (VC++ v6) and now 100% issue
has occurred.  I can set breakpoints in my code I suppose.  I have a
LOT of code to guess at inserting breakpoints.

Anyone got any bright ideas on how to approach this type of bug fix?

Angus
date: Wed, 23 Jul 2008 02:12:36 -0700 (PDT)   author:   Angus

Re: Debugging question - 100% cpu utilisation   
On Wed, 23 Jul 2008 02:12:36 -0700, Angus wrote:

> Anyone got any bright ideas on how to approach this type of bug fix?

google for profiling.   Profiling will tell you where the system time is 
being spent.

Ken
date: 23 Jul 2008 19:15:12 +1000   author:   Ken Foskey

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us