graphical-debugging
graphical-debugging copied to clipboard
reference type not supported
I have a user-defined point type "Point" and it's displayed fine. But a reference to Point is not displayed. E.g. Point p(100,100); // p is displayed OK Point& pr=p; // pr is not shown Anyone know any solution? Thanks!
I'll look into this. For now I quickly checked reference to bg::model::point<>
and it seems to work. Are you using the latest version of the extension? What is your Point type and XML definition?
As for the workaround maybe something like this would work: *(&pr)
?
Sorry for the late reply. I'm using version 0.33, which should be the latest. Visual Studio version is 2019.
The Point type itself is OK. I encountered problems when it's a member variable of a class. It seems whether a member variable can be shown depends on its owner's state.
Attached is a minimal working example plus the config XML file. I couldn't reproduce the issue with Point type in this example, but it's similar on Polygon type.
test_graphical_debugging.zip
Support added in version 0.51