Issue inspecting items while debugging addin DLL

Issue inspecting items while debugging addin DLL

pball
Mentor Mentor
210 Views
1 Reply
Message 1 of 2

Issue inspecting items while debugging addin DLL

pball
Mentor
Mentor

For some time now when debugging in Visual Studio 2019 I have been unable to inspect items the way I used to be able to. Below is an image showing the issue since I'm likely not using the correct terms to explain properly. In this case I'm trying to view the items in BomRows but VS2019 no longer shows that information.

 

I have native code debugging enabled and have managed compatibility mode selected in VS2019 options. Besides switching from VS2012 to VS2019 and going from Inventor 2020 to 2022, nothing in my environment should have changed.

 

pball_0-1678811938831.png

pball_1-1678812135130.png

pball_2-1678812180940.png

 

Check out my style edits for the Autodesk forums
pball's Autodesk Forum Style
0 Likes
211 Views
1 Reply
Reply (1)
Message 2 of 2

Michael.Navara
Advisor
Advisor

I don't remember if it was possible earlier, but when I'm looking for solution at the beginning, I use VBA object browser. During debugging process, you can use Watch window, where you can cast collection to specified type and browse them.

bomRows.Cast(Of Inventor.BOMRow)

MichaelNavara_0-1678861746507.png

 

0 Likes