Giter Site home page Giter Site logo

lldb-eigen-pretty-printer's People

Contributors

fantaosha avatar rkost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lldb-eigen-pretty-printer's Issues

failed to load

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

Pretty print in IDEs

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:

image

While the reference is only printed when looking deeper into the structure:

image

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 ;) )

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?)

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.