<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: AutoCAD Crashes when attempting to view object properties in the debugger. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/autocad-crashes-when-attempting-to-view-object-properties-in-the/m-p/12770458#M3995</link>
    <description>&lt;P&gt;Additional Information.&amp;nbsp; Using the EventWatcher program that comes with the AutoCAD 2021 SDK (ObjectArx 2021) I was able to confirm that the problem I reported above has nothing to do with my program.&amp;nbsp; I was able to reproduce both problems listed above using the&amp;nbsp;callback_ObjectModified function in the EventWatcher program.&lt;BR /&gt;&lt;BR /&gt;Note: The second problem occurs when I use a third-party program that creates a series of MText entities in the drawing.&amp;nbsp; Since the first problem shows the results of using AutoCAD to create the MText entity I am not sure the third-party program is causing the problem.&lt;BR /&gt;&lt;BR /&gt;So at this point based on the debugger results I am inclined to believe AutoCAD is not handling those properties correctly and causing problems with the debugger.&amp;nbsp; It appears that certain property values are not being initialized or set properly.&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2024 20:25:00 GMT</pubDate>
    <dc:creator>bakerrWZ69Z</dc:creator>
    <dc:date>2024-05-13T20:25:00Z</dc:date>
    <item>
      <title>AutoCAD Crashes when attempting to view object properties in the debugger.</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-crashes-when-attempting-to-view-object-properties-in-the/m-p/12769880#M3994</link>
      <description>&lt;P&gt;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.&amp;nbsp; Basically I have registered an Event to monitor when certain objects in the drawing are modified.&amp;nbsp; 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.&amp;nbsp; Depending on the object properties the act of trying to view the properties will actually crash AutoCAD without any error messages.&amp;nbsp; Is this normal or are my compiler or debugger settings wrong?&amp;nbsp; Did I forget to reference some AutoCAD file?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note: This Mtext entity was created by AutoCAD without any other plug-ins other than my program active at the time.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bakerrWZ69Z_0-1715613654837.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1361414i75764D4D2B6140B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bakerrWZ69Z_0-1715613654837.png" alt="bakerrWZ69Z_0-1715613654837.png" /&gt;&lt;/span&gt;&lt;BR /&gt;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.&amp;nbsp; 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.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bakerrWZ69Z_1-1715613979112.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1361417iFA3C87122BE2A128/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bakerrWZ69Z_1-1715613979112.png" alt="bakerrWZ69Z_1-1715613979112.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note: My program is referencing the following AutoCAD files from the AutoCAD 2021 directory.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="bakerrWZ69Z_0-1715614583899.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1361425iC0DD741548D16AD1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bakerrWZ69Z_0-1715614583899.png" alt="bakerrWZ69Z_0-1715614583899.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 15:36:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-crashes-when-attempting-to-view-object-properties-in-the/m-p/12769880#M3994</guid>
      <dc:creator>bakerrWZ69Z</dc:creator>
      <dc:date>2024-05-13T15:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Crashes when attempting to view object properties in the debugger.</title>
      <link>https://forums.autodesk.com/t5/net-forum/autocad-crashes-when-attempting-to-view-object-properties-in-the/m-p/12770458#M3995</link>
      <description>&lt;P&gt;Additional Information.&amp;nbsp; Using the EventWatcher program that comes with the AutoCAD 2021 SDK (ObjectArx 2021) I was able to confirm that the problem I reported above has nothing to do with my program.&amp;nbsp; I was able to reproduce both problems listed above using the&amp;nbsp;callback_ObjectModified function in the EventWatcher program.&lt;BR /&gt;&lt;BR /&gt;Note: The second problem occurs when I use a third-party program that creates a series of MText entities in the drawing.&amp;nbsp; Since the first problem shows the results of using AutoCAD to create the MText entity I am not sure the third-party program is causing the problem.&lt;BR /&gt;&lt;BR /&gt;So at this point based on the debugger results I am inclined to believe AutoCAD is not handling those properties correctly and causing problems with the debugger.&amp;nbsp; It appears that certain property values are not being initialized or set properly.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 20:25:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/autocad-crashes-when-attempting-to-view-object-properties-in-the/m-p/12770458#M3995</guid>
      <dc:creator>bakerrWZ69Z</dc:creator>
      <dc:date>2024-05-13T20:25:00Z</dc:date>
    </item>
  </channel>
</rss>

