Hi, When I use a graphical debugger, I can't examine variables. The message is "no symbol in current context". What do I have to do to examine these ones? Is it when I compile? Thanks
Mehdi Khaldi a écrit:
Hi, When I use a graphical debugger, I can't examine variables. The message is "no symbol in current context". What do I have to do to examine these ones? Is it when I compile?
yes compile with -g option
gpc -g --automake ...
but notice that if gpc has been compiled with gcc-3.x.x the default -g does not work (yet). Use e.g. -gstabs or -gstabs+ instead
Maurice