How to use pretty debugging printers to see Eigen objects in QtCreator?

前端 未结 3 1033
误落风尘
误落风尘 2021-02-05 21:11

I am trying to see the contents of an Eigen vector in the Locals and Expressions window of the QtCreator:

3条回答
  •  不要未来只要你来
    2021-02-05 21:28

    This is a bug in /usr/lib/debug/usr/lib/i386-linux-gnu/libstdc++.so.6.0.18-gdb.py. Make sure you have the lastest version of the gcc4.8 packages, it might be that this issue is already fixed in unbuntu (it is fixed in debian). See this bug entry. In the last ressort you can patch this file so that it searches in the right location.

提交回复
热议问题