Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matrix too large to print #10

Open
weixi234 opened this issue Sep 18, 2024 · 1 comment
Open

matrix too large to print #10

weixi234 opened this issue Sep 18, 2024 · 1 comment

Comments

@weixi234
Copy link

Using LLDB Eigen Data Modeler in Clion,matrix too large to print:

(lldb) p cloud_in
(Eigen::MatrixXf) [matrix too large]

At the same time, I have another question. Can the variable debugged in the click directly display the value of Eigen?
Eigen-Debug

@tehrengruber
Copy link
Owner

tehrengruber commented Sep 30, 2024

There is a somewhat artificial limit of 100 elements after which the matrix is not printed. You can change this here: https://github.com/tehrengruber/LLDB-Eigen-Data-Formatter/blob/master/LLDB_Eigen_Data_Formatter.py#L41
I'm happy to review a PR that makes this configurable.

At the same time, I have another question. Can the variable debugged in the click directly display the value of Eigen?

Can you elaborate, I don't really understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants