Windows has generated a breakpoint
问题 I'm debugging my C++ Win32 program in VS2010 and I always get "Windows has triggered a breakpoint in program.exe". I've double-checked, triple-checked, and quadruple-checked the code. I can't find any reason it should be happening. But it happens at the same point each time so there must be something. There is quite a lot of code involved (constructors, destructors, window messages, memory allocation and deallocation, etc...) so it's quite difficult to put something concrete here, but at the