
8 Mar
2011
8 Mar
'11
6:35 p.m.
On 3/8/2011 12:29 PM, Igor R wrote:
This is not really the aswer to your question, but if you work with MSVC, in case of deadlock you can just push "pause" button and see what happens to every thread.
Yeah, that's how I found this latest programming screwup on my part, attaching the debugger after the application went silent. I was just wondering if there was some quick #define to enable a debugging mode where I'd get an exception or something I could log when that happened, as opposed to the program just locking up.