Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » No debug symbols in CDT
No debug symbols in CDT [message #162670] Fri, 27 January 2006 09:55
Eclipse UserFriend
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
Previous Topic:incorrect parsing of include files
Next Topic:CDT multithread debug with GDB
Goto Forum:
  


Current Time: Sat Jun 21 20:43:59 EDT 2025

Powered by FUDForum. Page generated in 0.23229 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top