-2

I wonder if there is a plugin or a recommended way for eclipse to see only interesting contents of common data structures when debugging. For example when debugging a string, I would like to see just the string value not the entire data structure, similarly when debugging a vector array I am interested in to see just the members and size, not the underlying complicated members.

in4001
  • 656
  • 6
  • 24
  • Possible duplicate of [The value of strings doesn't appear in eclipse mars CDT](http://stackoverflow.com/questions/32411117/the-value-of-strings-doesnt-appear-in-eclipse-mars-cdt) – Jonah Graham Nov 02 '15 at 16:01
  • I am getting following error File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' – in4001 Nov 02 '15 at 16:04
  • ask a new question and I will be glad to try to answer it. – Jonah Graham Nov 02 '15 at 16:08
  • http://stackoverflow.com/questions/33482030/python-pretty-printer-for-debugging-stdlib-variables-wont-work – in4001 Nov 02 '15 at 16:13
  • Excellent, now that you have reposted that as its own question, with the GDB tag, hopefully the right people will see it. – Jonah Graham Nov 02 '15 at 16:20

1 Answers1

2

You can put some expressions in the expression view of Eclipse and show only what you need .

Expression View

aleroot
  • 71,077
  • 30
  • 176
  • 213