Our buildserver (TeamCity, much recommended), runs our a whole bunch of testsuites on our finished c++ program.
Once in a whole, a test causes our program to crash,
Best Solution for this problem is so simple 2 steps to make it done open cmd prompt type : regedit go to path-->HKEY_LOCAL_MACHINE-->SOFTWARE-->Microsoft-->Windows NT-->CurrentVersion-->AeDebug You can find now the file : Debugger right click , Modify copy and paste this text inside it:
drwtsn32 -p %ld -e %ld -g
click ok and voila :)