Re: [eigen] How to use pretty printers

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

from the printers.py file:

# To use it:
#
# * Create a directory and put the file as well as an empty __init__.py in
#   that directory.
# * Create a ~/.gdbinit file, that contains the following:
#      python
#      import sys
#      sys.path.insert(0, '/path/to/eigen/printer/directory')
#      from printers import register_eigen_printers
#      register_eigen_printers (None)
#      end

cheers,
gael

On Fri, Dec 16, 2011 at 7:10 PM, Andrea Arteaga <yo.eres@xxxxxxxxx> wrote:
> Hello.
> I'm trying to use pretty printers to have a readable output in gdb
> (and in Eclipse). I see that Eigen has printers for Matrices, but I
> can't make them work. Can somebody help me?
>
> Thanks in advance
> Cheers
> Andrea Arteaga
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/