Re: [eigen] How to use pretty printers |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] How to use pretty printers
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Fri, 16 Dec 2011 23:39:53 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=PLCmVpA14Aj/vGITPvMewT2X2GKyzQ28GR5ZOKXW8so=; b=PSA09aPEdyeysBke2UhwYTZMdgrRCF1IqxzlMNl4UWWn+zN7oBUN+QQzfqA37vVUA6 eV2+N9Pv8x20EjNlSOWLDZZWQn5WKYQL9N4n5uUyk4QDp9B0diDP7znb4eZNzpCEi6o1 E6XQ4szxcs/9NKA7C5jz6gQnWC2VTdzpWIsA0=
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
>
>