3

Does anybody know if an equivalent of "auto expansion" mechanism (works with Visual Studio ) exist for emacs (used in debug mode with gdb). In Visual Studio i can really hover over any class instance / structure and it shows me desired structure field (which i had specify through autoexp.dat).

Right now i am using .gdbinit but every time i have to type the aliases in (gdb) prompt to get the value of an struct instance. I am wondering any plugin/extension exist which can do autoexp.dat kind of work for me.

http://mariusbancila.ro/blog/2007/04/06/tweaking-autoexpdat-for-custom-types-in-vs2005

Cem Kalyoncu
  • 14,120
  • 4
  • 40
  • 62
David
  • 4,634
  • 7
  • 35
  • 42

1 Answers1

0

there are a number of ways to do this in Emacs. two popular ones are CEDET, which is powerful but heavyweight and can be brittle, and auto-complete combined with yasnippet, e.g. as described here, which was a bit slow for me but worked. All three can be installed with emacs 24's package facility.

ryan
  • 2,687
  • 1
  • 29
  • 38