-
Notifications
You must be signed in to change notification settings - Fork 8
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
Output for dynamicially sized matrices is None #3
Comments
No that should work. What type of matrix did you print? |
Any of the eigen stuff.... for example:
From the lldb prompt in CLion I enter Appreciate your help. Thx. |
Indeed the installation of the plugin worked. Therefore you only see None instead of the default output from lldb, because some exception occurs in the plugin. Usually the plugin should fallback to the lldbs default printer in that case, which for whatever reason does not work. I have to check this on an OS X machine the upcoming days, because on my linux machine everything works as expected. |
Ok so the problem here is that the matrices you are trying to debug are of dynamic size, which this plugin does not support right now. There is however a pull request implementing this: #2 which works, but has some problems. |
Thankyou for that info. I saw the pull request but as I'm a newbie to eigen I didn't even know I was using dynamic matrices all the time. ;-) Looking forward to the update and will test the pull request. Really appreciate your help. |
Nevermind :-) I will still keep this ticket open because the returning For the matrix/vector you use in the screenshot you should probably use a statically sized type because its way faster for small matrices. This is because many optimizations are only possible, when the size is known at compile time. |
Excellent. By keeping this open I'll be alerted to updates ;-) |
Update... Tried pull request 2 it it fails everywhere... Will stick to cout for now. ;-) |
I would love to use this plugin but I'm having the same issue (I need to use dynamic sizes). Thanks for this useful tool. |
This bug might be partially fixed. Please have a look at https://github.com/fantaosha/LLDB-Eigen-Data-Formatter |
I've added support for dynamically sized matrices today (see 7a07dc1). Feel free to give it a try. |
I've installed with
bash -c "$(curl -fsSL https://raw.githubusercontent.com/tehrengruber/LLDB-Eigen-Data-Formatter/master/tools/install.sh)"
.Is there anything else I would need to do to get it to work in CLion IDE on a Mac?
Does lldb look in
~/.lldbinit
by default?This is what I get if ->
The text was updated successfully, but these errors were encountered: