Eclipse调试器无法正常工作 - 自动终止(MingGW)CDT

时间:2017-02-16 10:08:46

标签: c++ eclipse debugging eclipse-cdt

我尝试使用MinGW(即Hello World)在CDT中调试一个简单的应用程序。 它构建和运行正确;

#include <iostream>
using namespace std;
int main() {
    cout << "!!!Hello World!!!" << endl;
    return 0;
}

使用以下选项: enter image description here

然而,当我运行调试器时,它只是跳过任何没有输出,错误或停止的断点(使我认为它实际上根本没有运行)直接:terminated enter image description here

有什么想法可以解决这个问题以及如何解决这个问题?

非常感谢!

大卫

更新

我不认为这可能是GDB的错误吗?与从cmd行运行时一样,它似乎正常工作。

enter image description here

0 个答案:

没有答案
相关问题