Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT-Add global variables - Shows empty list
CDT-Add global variables - Shows empty list [message #218352] Wed, 02 July 2008 05:45
Eclipse UserFriend
Originally posted by: chandram_online.yahoo.co.in

Hi every body,

I use eclipse ganymede version which recently released (windows xp), with
MinGw 5.1.3 tool chain and internal cdt builder.I use gdb-6.6 as debugger.

In the variables view window local varialbes are shown. when I try to "add
global variables", I get empty list.I want to add global variables in
variables view instead of adding as expression to view the value. Binary
parser is set to "PE Windows parser".If I expand the executable in
the modules view I saw the globals.

This is the sample program in which I want to view the value of 'rad' in
variable window. (The same thing I faced with Europa version (cdt 4.0)).
Kindly help to solve this problem.What am I doing wrong?

With regards
ack
------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
double rad = 0.017;
int main(int argc, char **argv)
{

puts("!!! Hello world!!!");
return EXIT_SUCCESS;

}
Previous Topic:Inflexible Project Structure: status?
Next Topic:The most annoying CDT bug
Goto Forum:
  


Current Time: Sat Jun 07 22:33:54 EDT 2025

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

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

Back to the top