Search code examples
emacsgdbputtygud

Using Emacs in PuTTY, how do I expand watched structure variable to show struct members in the gud_watch window?


In the GDB Graphical Interface for Emacs says:

To expand or contract a complex data type, click Mouse-2 or press <SPC> on the tag to the left of the expression.

But when I press Space, the watch window do not expand to show the structure's member.

What should I do?

Also, how can I know whether the watch expression windows and speedbar is the same thing?


Solution

  • Recently I found, after typing Space, I need a call, "speedbar-refresh". Then the speedbar window will refresh and expand to show the class members' values.