graphical-debugging icon indicating copy to clipboard operation
graphical-debugging copied to clipboard

reference type not supported

Open tangketan opened this issue 3 years ago • 1 comments

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!

tangketan avatar Aug 16 '21 10:08 tangketan

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)?

awulkiew avatar Aug 27 '21 10:08 awulkiew

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. image test_graphical_debugging.zip

tangketan avatar Mar 01 '23 10:03 tangketan

Support added in version 0.51

awulkiew avatar May 28 '23 13:05 awulkiew