Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems like here's the right time and place to ask. How do I comfortably inspect variables of types like std::vector<std::vector<boost::optional<string>>> with gdb ?


GDB 7.0 and up can be expanded with Python pretty printers to do exactly this. See here: https://sourceware.org/gdb/wiki/STLSupport




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: