How to View Values in Visual Studio Debugger

  • 15 September 2023
  • 0 replies

  • Single Emitter
  • 0 replies

From this example,, I set a break point after the line “Surface_1->Thickness = 50.0;” in Visual Studio 2017 or 2022. I expected the Visual Studio Watch window to display 50 for Surface_1->Thickness when it breaks, instead Visual Studio displayed this message “Surface_1->Thickness    operator -> or ->* applied to ‘_com_ptr_t<_com_IIID<ZOSAPI_Interfaces::ILDERow,&_GUID_774c8955_b4d3_4232_95ce_3b4cd460e8b3> >’ instead of to a pointer type”.

Question: Is there a way to display “Surface_1->Thickness” value in Visual Studio debugger window?


0 replies

Be the first to reply!