LLDB-Eigen-Data-Formatter icon indicating copy to clipboard operation
LLDB-Eigen-Data-Formatter copied to clipboard

matrix too large to print

Open weixi234 opened this issue 1 year ago • 1 comments

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

weixi234 avatar Sep 18 '24 08:09 weixi234

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.

tehrengruber avatar Sep 30 '24 13:09 tehrengruber