You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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