我想观看以下变量的XCode 6:无法创建观察点
vector<Vec3f> lines[2];
XCode中
(其中Vec3f
是一个数据类型的OpenCV,3个浮点数的向量)。 但在变量视图,当我用鼠标右键单击该变量并选择Watch "lines"
,我被在通过的XCode喊道:
error: Watchpoint creation failed (addr=0x16fd92d48, size=48, variable expression='lines'). error: watch size of 48 is not supported
这似乎与vector<T>
类型的其他变量的情况发生为好,但只有当它是一个局部变量。我可以看到作为方法参数传入的vector
就好了。
double computeReprojectionError(vector<Point2f>& imgpts1, vector<Point2f>& imgpts2, Mat& inlier_mask, const Mat& F)
{
//^I can watch this guy
vector<Vec3f> lines[2]; // <- I cannot watch this guy (size 48)
vector<Point2f> imgpts1_copy(npt), // <- I cannot watch this guy (size 24)
imgpts2_copy(npt);
...
我GOOGLE错误没有成功。有人可以阐明此事吗?