Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2008

Tip: Looking for answers? Try searching our database.

Debugging question - 100% cpu utilisation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Angus - 23 Jul 2008 10:12 GMT
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
Ken Foskey - 23 Jul 2008 10:15 GMT
> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.