#76 Simple c++ test file closes geany on breakpoint

closed-fixed
debugger (9)
5
2012-03-15
2012-02-25
Anonymous
No

The following simple C++ file can't be debugged, because it causes geany to close when it hits any breakpoint,

#include <iostream>

using namespace std;

int main()
{

cout << "hello world!!!" << endl;
cout << endl << "press a key";

cin.get();

}

Thanks

Discussion

  • Simple file as described above

     
    Attachments
  • Rob D
    Rob D
    2012-02-25

    Forgot to add the following build command I am using...

    g++ -g -Wall -o "%e" "%f"

     
    • status: open --> closed-fixed