需要在项目“Option > Linker > Output”中勾选“Include debug information in output”,然后重新编译,Debug时问题解决。当然,目标文件也会大很多。