<?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: crash when debugging and insert a block in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286000#M74262</link>
    <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Could you confirm that debugging AutoCAD Map 3D 2008 with Visual Studio 2005 is working fine ? As ADN's guy could reproduce the bug as well, I think you may have some special settings which allow you not to suffer from that bug.&lt;BR /&gt;
&lt;BR /&gt;
Could you give some information about your configuration ?&lt;BR /&gt;
Like OS, others Visual Studio versions installed or other AutoCAD on the same machine and maybe a dump of Visual Studio settings ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
    <pubDate>Wed, 09 Jul 2008 12:27:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-07-09T12:27:33Z</dc:date>
    <item>
      <title>crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285995#M74257</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have troubles debugging AutoCAD Map 3D 2008 with Visual Studio 2005. When I check "Enable unmanaged code debugging" option Visual Studio breaks whenever i use the INSERT command. &lt;BR /&gt;
&lt;BR /&gt;
Step to reproduce:&lt;BR /&gt;
1. Create a default c# Windows Application&lt;BR /&gt;
2. Edit Project properties: &lt;BR /&gt;
______Start external program: "c:\Program Files\AutoCAD Map 3D 2008\acad.exe"&lt;BR /&gt;
______Enable unmanaged code debugging: CHECKED&lt;BR /&gt;
3. Hit F5 ro run AutoCAD&lt;BR /&gt;
4. Type INSERT command&lt;BR /&gt;
5. Hit ESC to cancel command&lt;BR /&gt;
6. Visual Studio breaks !&lt;BR /&gt;
&lt;BR /&gt;
According to following output it is an Access Violation error. I had a look in Debug=&amp;gt;Exceptions menu to disable breaking on this error but I couldn't fix anything.&lt;BR /&gt;
&lt;BR /&gt;
First-chance exception at 0x781449d1 in acad.exe: 0xC0000005: Access violation reading location 0xbaadf00d.&lt;BR /&gt;
Unhandled exception at 0x781449d1 in acad.exe: 0xC0000005: Access violation reading location 0xbaadf00d.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I tried with AutoCAD 2007. It's working fine. I unfortunately can't try with AutoCAD 2008 (only Map i installed on my computer).&lt;BR /&gt;
&lt;BR /&gt;
Any inputs are welcome,&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
      <pubDate>Wed, 25 Jun 2008 13:34:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285995#M74257</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-25T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285996#M74258</link>
      <description>Tried Acad Map2008 + VS2005, as you described. Works fine. Also tried these:&lt;BR /&gt;
&lt;BR /&gt;
AcadMap2006+VS2005, it is OK&lt;BR /&gt;
AcadMap2008+VS2008, it is OK&lt;BR /&gt;
&lt;BR /&gt;
"PowerKiKi" wrote in message news:5965881@discussion.autodesk.com...&lt;BR /&gt;
Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have troubles debugging AutoCAD Map 3D 2008 with Visual Studio 2005. When &lt;BR /&gt;
I check "Enable unmanaged code debugging" option Visual Studio breaks &lt;BR /&gt;
whenever i use the INSERT command.&lt;BR /&gt;
&lt;BR /&gt;
Step to reproduce:&lt;BR /&gt;
1. Create a default c# Windows Application&lt;BR /&gt;
2. Edit Project properties:&lt;BR /&gt;
______Start external program: "c:\Program Files\AutoCAD Map 3D &lt;BR /&gt;
2008\acad.exe"&lt;BR /&gt;
______Enable unmanaged code debugging: CHECKED&lt;BR /&gt;
3. Hit F5 ro run AutoCAD&lt;BR /&gt;
4. Type INSERT command&lt;BR /&gt;
5. Hit ESC to cancel command&lt;BR /&gt;
6. Visual Studio breaks !&lt;BR /&gt;
&lt;BR /&gt;
According to following output it is an Access Violation error. I had a look &lt;BR /&gt;
in Debug=&amp;gt;Exceptions menu to disable breaking on this error but I couldn't &lt;BR /&gt;
fix anything.&lt;BR /&gt;
&lt;BR /&gt;
First-chance exception at 0x781449d1 in acad.exe: 0xC0000005: Access &lt;BR /&gt;
violation reading location 0xbaadf00d.&lt;BR /&gt;
Unhandled exception at 0x781449d1 in acad.exe: 0xC0000005: Access violation &lt;BR /&gt;
reading location 0xbaadf00d.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I tried with AutoCAD 2007. It's working fine. I unfortunately can't try with &lt;BR /&gt;
AutoCAD 2008 (only Map i installed on my computer).&lt;BR /&gt;
&lt;BR /&gt;
Any inputs are welcome,&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
      <pubDate>Wed, 25 Jun 2008 17:48:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285996#M74258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-25T17:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285997#M74259</link>
      <description>Thanks for trying. &lt;BR /&gt;
&lt;BR /&gt;
I actually could reproduce this on two computers with VS2005 + Map2008. So I'm surprised it's working for you. I'll investigate more as soon as I have more time. That maybe some settings somewhere or Service Pack ...</description>
      <pubDate>Thu, 26 Jun 2008 06:38:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285997#M74259</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-06-26T06:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285998#M74260</link>
      <description>I installed AutoCAD Map 3D 2009 and tried again it worked fine.&lt;BR /&gt;
&lt;BR /&gt;
So here is summary:&lt;BR /&gt;
Visual Studio 2005 + AutoCAD 2007: ok&lt;BR /&gt;
Visual Studio 2005 + AutoCAD Map 3D 2006: ok&lt;BR /&gt;
Visual Studio 2005 + AutoCAD Map 3D 2007: ok&lt;BR /&gt;
Visual Studio 2005 + AutoCAD Map 3D 2008: FAILED !&lt;BR /&gt;
Visual Studio 2005 + AutoCAD Map 3D 2009: ok&lt;BR /&gt;
&lt;BR /&gt;
It looks like something's wrong with AutoCAD Map 3D 2008. I reproduced the issue on two computers. And I can't think of any "exotic" settings I may have changed.&lt;BR /&gt;
&lt;BR /&gt;
I'll try to report this problem to ADN.</description>
      <pubDate>Tue, 01 Jul 2008 13:37:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285998#M74260</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-01T13:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285999#M74261</link>
      <description>so for your information:&lt;BR /&gt;
Autodesk Developer Network's guy told me he could reproduce the bug and he forwarded to their development team. &lt;BR /&gt;
&lt;BR /&gt;
The bad news is: &lt;BR /&gt;
"Note however that since this issue no longer affects the current release of Map 3D, chances of a fix are somewhat slim."&lt;BR /&gt;
&lt;BR /&gt;
He added he doesn't know of any workaround for this problem.&lt;BR /&gt;
&lt;BR /&gt;
Looks like we're on our own... &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Wed, 09 Jul 2008 11:57:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2285999#M74261</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-09T11:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286000#M74262</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Could you confirm that debugging AutoCAD Map 3D 2008 with Visual Studio 2005 is working fine ? As ADN's guy could reproduce the bug as well, I think you may have some special settings which allow you not to suffer from that bug.&lt;BR /&gt;
&lt;BR /&gt;
Could you give some information about your configuration ?&lt;BR /&gt;
Like OS, others Visual Studio versions installed or other AutoCAD on the same machine and maybe a dump of Visual Studio settings ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
      <pubDate>Wed, 09 Jul 2008 12:27:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286000#M74262</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-09T12:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286001#M74263</link>
      <description>I tried again, no crash. Here is what I use:&lt;BR /&gt;
&lt;BR /&gt;
OS: VISTA Ultimate&lt;BR /&gt;
AcadMap2008&lt;BR /&gt;
VS2005 with SP1 and VISTA SP&lt;BR /&gt;
&lt;BR /&gt;
I also have VS2008 Team Development edition installed in the same box. So, &lt;BR /&gt;
the .NET is .NET2.0 SP1+.NET3.0SP1+.NET3.5&lt;BR /&gt;
&lt;BR /&gt;
Computer:&lt;BR /&gt;
&lt;BR /&gt;
DELL Latitude D820, Intel Core2 CPU2.16GHz, 2GB memory, GeForce Go 7400 &lt;BR /&gt;
Video 256 MB.&lt;BR /&gt;
&lt;BR /&gt;
The testing:&lt;BR /&gt;
&lt;BR /&gt;
1. Start VS2005&lt;BR /&gt;
2. Selet "AutoCAD Managed C# Project", which is installed from project &lt;BR /&gt;
wizard from ObjectARX SDK and does nothing more than automatically set &lt;BR /&gt;
references to Acad managed API libraries.&lt;BR /&gt;
3. Go to project property window to make sure the project's debuggibg starts &lt;BR /&gt;
AcadMap and "Enable unmanaged code debugging" is checked (I usually do not &lt;BR /&gt;
check this). I also tried both with working directory being set to Acad &lt;BR /&gt;
installation folder or without&lt;BR /&gt;
4. With only an empty command is created by the wizard, I compiled the DLL &lt;BR /&gt;
and hit F5.&lt;BR /&gt;
5. AutoCAD starts.&lt;BR /&gt;
6. enter "INSERT" at command line. This brings up "INSERT" dialog.&lt;BR /&gt;
7. Hit "Esc" key or "Cancel" button on the dialog box. the dialog box is &lt;BR /&gt;
gone. Acad stands.&lt;BR /&gt;
&lt;BR /&gt;
I also tried loading "NETLOAD" some assembly first, then INSERTING, Acad &lt;BR /&gt;
lives as it should. No crash.&lt;BR /&gt;
&lt;BR /&gt;
So, may it be the cause that I have .NET 2.0 SP1 installed (due to the &lt;BR /&gt;
installation of VS2008, but you can have .NET 2.0 SP1 installed seperately).&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"PowerKiKi" wrote in message news:5976840@discussion.autodesk.com...&lt;BR /&gt;
Hi,&lt;BR /&gt;
&lt;BR /&gt;
Could you confirm that debugging AutoCAD Map 3D 2008 with Visual Studio 2005 &lt;BR /&gt;
is working fine ? As ADN's guy could reproduce the bug as well, I think you &lt;BR /&gt;
may have some special settings which allow you not to suffer from that bug.&lt;BR /&gt;
&lt;BR /&gt;
Could you give some information about your configuration ?&lt;BR /&gt;
Like OS, others Visual Studio versions installed or other AutoCAD on the &lt;BR /&gt;
same machine and maybe a dump of Visual Studio settings ?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
      <pubDate>Wed, 09 Jul 2008 15:06:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286001#M74263</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-09T15:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: crash when debugging and insert a block</title>
      <link>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286002#M74264</link>
      <description>Thanks for trying. Concerning my configuration:&lt;BR /&gt;
&lt;BR /&gt;
Hardware: DELL Optiplex Pentium 4 CPU 2.80GHz, 2GB of RAM, ATI Radeon X300/X550/X1050 Series &lt;BR /&gt;
OS: Windows XP SP2 english&lt;BR /&gt;
.Net framework SDK: v1.1, v2.0&lt;BR /&gt;
.Net framework: v1.0.3705, v1.1.4322, v2.0.50727, v2.0 SP1, v3.0 (I don't where this one come from)&lt;BR /&gt;
&lt;BR /&gt;
I noticed in your test you use "AutoCAD Managed C# Project" instead of non-AutoCAD Windows Project. So I tried as well with "AutoCAD Managed C# Project" as well and it breaks exactly as it always does. (Note that in my original post the c# project has absoluteley no relation whatsoever with AutoCAD, it is not even executed.)&lt;BR /&gt;
&lt;BR /&gt;
So the remaining differences between you and me could be:&lt;BR /&gt;
- WinXP / Vista&lt;BR /&gt;
- Visual Studio 2008 installed or not&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I tried with a third computer which has VS2005 and VS2008 installed like you. It did break as well. Then I tried with Visual Studio 2008 who also breaks.&lt;BR /&gt;
&lt;BR /&gt;
So to me it seems that Vista may be the difference which make it work for you. If anyone could confirm this with another Vista computer, that would be great.&lt;BR /&gt;
&lt;BR /&gt;
Thanks anyway</description>
      <pubDate>Thu, 10 Jul 2008 14:59:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/crash-when-debugging-and-insert-a-block/m-p/2286002#M74264</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-07-10T14:59:21Z</dc:date>
    </item>
  </channel>
</rss>

