Skip to content

LLDB Data Formatter for dense matrices and vectors of the Eigen library

License

Notifications You must be signed in to change notification settings

tehrengruber/LLDB-Eigen-Data-Formatter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLDB Eigen Data Formatter

LLDB Data Formatter for dense matrices and vectors of the Eigen library.

Example

Eigen::Matrix<double, 3, 4> A;
A << 1, 2, 3, 4,
    5, 6, 7, 8,
    9, 10, 11, 12;

Corresponding output in LLDB

(lldb) print A
(Eigen::Matrix<double, 3, 4, 0, 3, 4>) $2 = rows: 3, cols: 4
[ 1   2   3   4;
  5   6   7   8;
  9  10  11  12;
]

Installation

bash -c "$(curl -fsSL https://raw.githubusercontent.com/tehrengruber/LLDB-Eigen-Data-Formatter/master/tools/install.sh)"

Manual Installation

INSTALL_PATH=~/.lldb-eigen-data-formatter
git clone https://github.com/tehrengruber/LLDB-Eigen-Data-Formatter.git $INSTALL_PATH
echo 'command script import "'$INSTALL_PATH'/LLDB_Eigen_Data_Formatter.py"' >> ~/.lldbinit

Uninstallation

rm -fr ~/.lldb-eigen-data-formatter

Afterwards remove the command script import command in ~/.lldbinit.

License

Copyright © 2016 Till Ehrengruber

Distributed under the GNU GENERAL PUBLIC LICENSE.

About

LLDB Data Formatter for dense matrices and vectors of the Eigen library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •