PDA

View Full Version : I get Segmentation Fault always when debbuging



tattva
8th April 2010, 22:06
Hello

I have some problem with debugging. Always when I start debug ( on my main computer) i get Segmentation Fault from signal SIGSEGV (I cannot debug any further). It happens even when i try with simple program like this one:



#include <iostream>

using namespace std;

int main (int argc, char*argv[])
{
int i = 10;
if (++i == i++) i++;
cout << i;
cin >> i;
return 0;
}


I tried to debug it on my notebook and it works just fine (both on windows 7). Do You have any clue what can cause such behavior?

Please note that i can run my app without any problem.