-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
OpenCV matrix inside std::vector
is not displayed in LLDB
#216
Comments
I've tried to fix this issue by playing with I think, it is better to check if a symbol includes required data members ( |
Thanks once more! :D I will also try to take a look at it when I have time. Or maybe ping @csantosbh... |
Indeed. https://docs.opencv.org/4.x/d3/d63/classcv_1_1Mat.html#af9333f06c84f115fda4cdf3af18c2ad0
|
add `has_symbol` method to SymbolWrapper check cv::Mat fields
add `has_symbol` method to SymbolWrapper check cv::Mat fields
add `has_symbol` method to SymbolWrapper check cv::Mat fields
Environment
lldb: 17.0.6 on MacOS, 14.0.0 on Ubuntu.
Describe the bug
OpenCV matrices, stored in STL containers like
std::vector
orstd::map
, are not displayed.To Reproduce
Same setup as in #215. Compile sample project, run it in LLDB and try to inspect variables, storing OpenCV matrices.
lldb sample
breakpoint set -l 18 -s sample.cpp
run
mh.v[0]
Expected behavior
Matrix is shown
Actual behavior
Matrix is not displayed
Error messages/stack traces
None.
Additional context
I've added call to
print
inside the methodMat.is_symbol_observable
(fileresources/oidscripts/oidtypes/opencv.py
)It shows that type of variable
mh.v[0]
isstd::__1::vector<cv::Mat, std::__1::allocator<cv::Mat> >::value_type
.Currently this method tries to match this type with regex, requiring that type name ends with
cv::Mat
.The text was updated successfully, but these errors were encountered: