Making Debug run faster.
#13
Are you using MS Application Verifier? That's a really useful thing, too. It can enable loads of debugging features built into Windows, one of them being guard pages around heap allocations. It might help you pinpoint the issues in your app.

Otherwise there's not much that can be said in general, most of the times you'll be hunting a specific issue and there is no generic recipe for that.

You should be using the stack window, the watches, memory window etc. Also with App verifier, it outputs its debugging info into the Output window, that comes in handy as well. When judging multithreaded code, remember to ask yourself, upon each line, "is there any way this could be accessed by another thread simultaneously? Will it cause problems if another thread modified this under my hands?" Forgetting to lock things using critical sections is one of the most common source of heap problems in multithreaded programs.
Reply
Thanks given by:


Messages In This Thread
Making Debug run faster. - by ThuGie - 03-06-2012, 10:28 PM
RE: Making Debug run faster. - by FakeTruth - 03-06-2012, 11:09 PM
RE: Making Debug run faster. - by xoft - 03-06-2012, 11:19 PM
RE: Making Debug run faster. - by ThuGie - 03-06-2012, 11:49 PM
RE: Making Debug run faster. - by xoft - 03-07-2012, 02:23 AM
RE: Making Debug run faster. - by FakeTruth - 03-07-2012, 06:19 AM
RE: Making Debug run faster. - by FakeTruth - 03-07-2012, 06:45 AM
RE: Making Debug run faster. - by FakeTruth - 03-07-2012, 06:47 AM
RE: Making Debug run faster. - by xoft - 03-07-2012, 05:17 PM
RE: Making Debug run faster. - by xoft - 03-08-2012, 11:44 PM
RE: Making Debug run faster. - by ThuGie - 03-14-2012, 08:18 AM
RE: Making Debug run faster. - by xoft - 03-14-2012, 06:10 PM
RE: Making Debug run faster. - by xoft - 03-15-2012, 05:40 PM
RE: Making Debug run faster. - by ThuGie - 03-15-2012, 06:49 PM
RE: Making Debug run faster. - by xoft - 03-15-2012, 11:57 PM
RE: Making Debug run faster. - by xoft - 03-16-2012, 05:12 AM
RE: Making Debug run faster. - by xoft - 03-16-2012, 06:03 PM



Users browsing this thread: 1 Guest(s)