windows下直接用 __asm("int3") 是不标准的做法, 应该是调用DebugBreak();
linux 下可以用 abort();
本文转自 zhegaozhouji 51CTO博客,原文链接:http://blog.51cto.com/1038741/1763687