> I tried putting a breakpoint in there but the debugger refused to
> accept it... I'll see if I can indeed debug once it crashes - why
> didn't I think of that? {:v)

One point: bugs caused by race conditions can rarely be reproduced by
setting breakpoints, since setting breakpoints actually changes the
execution sequence.  Sometimes you may have to resort to logging, and
reading log files, and other times you'd have to track bugs in your release
builds (since debug builds generate a lot of extra code, which can affect
the execution sequence of your threads.)

Welcome to the world of multithreaded debugging!  ;-)

-------------
Ehsan Akhgari

Farda Technology (http://www.farda-tech.com/)

List Owner: [email protected]

[ Email: [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

Ideas that fall under shadows of theories that stand tall, thoughts that
grow narrow upon being verbally released.




_______________________________________________
msvc mailing list
[email protected]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for 
subscription changes, and list archive.

Reply via email to