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

closed-fixed
debugger (11)
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

  • Nobody/Anonymous

    Simple file as described above

     
  • Rob D

    Rob D - 2012-02-25

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

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

     
  • Alexander Petukhov

    • status: open --> closed-fixed
     

Log in to post a comment.