fantaosha / lldb-eigen-pretty-printer Goto Github PK
View Code? Open in Web Editor NEWLLDB Eigen Pretty Printer
License: GNU General Public License v3.0
LLDB Eigen Pretty Printer
License: GNU General Public License v3.0
This line should read #!/bin/bash
or even better #!/usr/bin/env bash
(found it because the install script didn't work in my zsh
environment.
Hi,
after successful installation, I got the following error when starting lldb
โ lldb
error: regex format error (maybe this is not really a regex?)
error: regex format error (maybe this is not really a regex?)
error: regex format error (maybe this is not really a regex?)
error: regex format error (maybe this is not really a regex?)
warning: empty category enabled (typo?)
Could this be caused by lldb version?
I am currently using
lldb --version
lldb-1200.0.44.2
Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28)
Thank you
So I just noticed that your pretty printer performs well inside CLion when deleting all \n
in the output (as the IDE just prints them like no backslash was there). That was great news but I got a small problem and was not able to explain it to myself:
When trying to print a reference of an eigen vector it will not appear on the top level in my IDE:
Vector2f a = {0.32f, 2.56f};
Vector2f& b = a;
const Vector2f c = {1.5f, 6.f};
Results in:
While the reference is only printed when looking deeper into the structure:
Do you know a simple way to fix this? Not really sure how to approach this issue.
(Just so you know: If you think that this is not an issue with this pretty printer but with my IDE only you are free to close this issue - I may need to work it out myself in that case ;) )
Hi!
When I load this file I get the following warnings(/ rather errors) in lldb (using CLion in windows):
warning: The provided function "LLDB_Eigen_Pretty_Printer.eigen_matrix_print" does not exist - please define it before attempting to use this summary.
error: regex format error (maybe this is not really a regex?)
warning: The provided function "LLDB_Eigen_Pretty_Printer.eigen_array_print" does not exist - please define it before attempting to use this summary.
error: regex format error (maybe this is not really a regex?)
warning: The provided function "LLDB_Eigen_Pretty_Printer.eigen_quaternion_print" does not exist - please define it before attempting to use this summary.
error: regex format error (maybe this is not really a regex?)
warning: The provided function "LLDB_Eigen_Pretty_Printer.eigen_sparsematrix_print" does not exist - please define it before attempting to use this summary.
error: regex format error (maybe this is not really a regex?)
warning: empty category enabled (typo?)
What am I doing wrong?
I can load https://github.com/timjj22/LLDB-Eigen-Data-Formatter without error but it doesn't really help with prettyprinting for eigen objects, I guess that is why you expanded his solution.
Thanks,
Ferenc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.