You are not logged in.

1

Thursday, February 21st 2008, 3:06am

Kdevelop debug problem and argc

I have a problem with KDevelop on Minime 2008 and PCLinuxOS 2007, that persists across several machines.
I would really appreciate help with this as its become serious for me.

Simple hello world below debugs well-

int main(int argc, char *argv[])
{
cout << "Hello, world!" << endl;

return EXIT_SUCCESS;
}

But if there is any reference to argc then the debugger wont work and cannot display variables.

int main(int argc, char *argv[])
{
cout << "Hello, world! " << argc << endl;

return EXIT_SUCCESS;
}

The same problem occurs if using C with printf.
Using the debugger ddd on the binary files works just fine. Huh Huh