Another gdb question

Dear Axel,
Many thanks for your help to me. I am finally finding my way
I do have another question in gdb mode
manytimes when I try to print a variable I get the message No symbol “xxx” in current context
this is while the var is defined (and is being used, for instance counters in for loops) at point that I am trying to print
do you have any idea why this happens

I am able to print it to the stdout, however I have to make lammps over and over and that makes it a lengthy process

Thanks again
Arshia

Dear Axel,
Many thanks for your help to me. I am finally finding my way
I do have another question in gdb mode
manytimes when I try to print a variable I get the message *No symbol "xxx"
in current context*
this is while the var is defined (and is being used, for instance counters
in for loops) at point that I am trying to print
do you have any idea why this happens

you're probably not paying attention to scoping.
any classmembers are scoped with
LAMMPS_NS::ClassName::member

axel.