AutoCAD Crashes when attempting to view object properties in the debugger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I haven't written a lot of .NET (C#) programs for AutoCAD yet so I don't know if my compiler settings are wrong or not. Basically I have registered an Event to monitor when certain objects in the drawing are modified. Recently when I have tried to examine the properties of the objects using the Visual Studio 2019 debugger I see runtime exceptions listed for some of the properties. Depending on the object properties the act of trying to view the properties will actually crash AutoCAD without any error messages. Is this normal or are my compiler or debugger settings wrong? Did I forget to reference some AutoCAD file?
Note: This Mtext entity was created by AutoCAD without any other plug-ins other than my program active at the time.
For example, under certain conditions if I try to examine the properties of a MText entity I get the following error message and once I respond to the error message AutoCAD disappear. I tried to following the suggestion in the error message but after I turn off the setting I can't see any property information for the variable.
Note: My program is referencing the following AutoCAD files from the AutoCAD 2021 directory.