标签:source 终端 vscode ble c++ 运行 ted code tput
这个问题在刚配好环境测试的时候往往不会被发现,因为单纯的c++编译调试是没问题的。但一旦调试使用stl库的代码就会报错,而编译又没问题且可以正常运行,但在vscode的集成终端里运行不会显示任何本该显示的信息(包括cout等),也不会报错。只会在调试控制台里出现如下信息:
Unable to start debugging. Unexpected GDB output from command "-exec-run".During startup program exited with code 0xc0000139
解决方法:更换MinGW64的版本:https://sourceforge.net/projects/mingw-w64/files/mingw-w64/,一定要选择x86_64-posix-seh版本。
标签:source 终端 vscode ble c++ 运行 ted code tput
原文地址:https://www.cnblogs.com/ramyc/p/12238323.html