How do i come to know the address of a variable during debugging?
Just enter &variable or take a look to the linker map file.
or could it be that you do not have the debug flag set in the compiler? Since you are probably using the IDE I can not tell you how to. Erik