我編寫了一個簡單的控制檯應用程序,並試圖對其進行調試。但是當我開始調試時,在應用程序輸出中會出現以下消息:Run in Terminal is not supported with the LLDB backend.
。 我在Mac OS X 10.11上使用Qt Creator 4.1.0。在Mac OS X上的Qt Creator中調試C++控制檯應用程序
這裏是我試圖調試的代碼示例:
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
int a;
cin >> a;
cout << "a^2 = " << a * a;
return 0;
}