I have a problem with gdb when I want to debug my program. Always get the message "Program received signal SIGSEGV, Segmentation fault."

Its nearly the same with insight5. There the program doesn`t start.

If I try to find the error with the command "bt" or "bt f" I cant find any error.

Even with the short program below it is the same.
It is not possible to trace one line. Watching variables only by "cout << i << endl;"
Thats annoying.

Any idea what to do?

Thanks
andreas

#include <iostream>
#include <stdlib.h>

int main(int argc, char *argv[])
{
 
  system("PAUSE");   
  return 0;
}