No debug symbols in CDT [message #162670] |
Fri, 27 January 2006 09:55 |
Eclipse User |
|
|
|
Originally posted by: jochen.wuttke.gmx.de.invalid
Hi,
I'm having problems with debugging a simple Hello world program in CDT.
I created a managed make C++ project and created a simple main function:
#include <stdio.h>
int main() {
int a = 0;
a = 27;
a *= a;
return a;
}
When the debugger starts I would expect to see "a" in the variable view, but
it doesn't show up. And when I select the modules view it tells me that the
symbols are not loaded. What's wrong with that?
I'm using Eclipse 3.1.1 on OSX 10.4.3 and the newest CDT (downloaded
yesterday). The project has been created with the default compiler settings
(-g3 for the symbols).
When I run gdb on the command line it seems to know the symbols. At least when
I ask it for the value of "a" in any step of the program execution it gives me
the correct value.
Thanks,
Jochen
|
|
|
Powered by
FUDForum. Page generated in 0.23229 seconds