<?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 Debug problems in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640779#M66670</link>
    <description>I am setting up a new machine for my development and I have run into a problem in which the Visual Studio debugger doesn't let me debug my application. I tried to isolate the problem by using te simplest Hello World application. The details are as under:&lt;BR /&gt;
&lt;BR /&gt;
(1) Using AutoCAD 2010, ObjectARX 2010, Visual Studio 2008 SP1, Windows XP 32 bit SP3&lt;BR /&gt;
(2) Wrote the simplest Hello World application as per the ObjectARX sample. The solution references acdbmgd and acmgd from the ObjectARX\inc-win32 folder&lt;BR /&gt;
(3) Set the debug executable to acad.exe.&lt;BR /&gt;
(4) Run the solution, gives an error "Exception has been throws by the target of invocation..." pointing to AcAppFrame.xaml. I am able to continue the debug by clicking the Continue button.&lt;BR /&gt;
(5) At the AutoCAD prompt, netload the hello dll.&lt;BR /&gt;
(6) Give Hello command - AutoCAD says unknown command.&lt;BR /&gt;
&lt;BR /&gt;
If I netload the dll by running AutoCAD outside te debugger, the hello command works.&lt;BR /&gt;
&lt;BR /&gt;
Any idea what is going on here  - I am new to Arx .NET development on AutoCAD 2010. Have I missed any important setting here? I have attached the project.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Gagan</description>
    <pubDate>Sat, 27 Feb 2010 23:51:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-02-27T23:51:08Z</dc:date>
    <item>
      <title>Debug problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640779#M66670</link>
      <description>I am setting up a new machine for my development and I have run into a problem in which the Visual Studio debugger doesn't let me debug my application. I tried to isolate the problem by using te simplest Hello World application. The details are as under:&lt;BR /&gt;
&lt;BR /&gt;
(1) Using AutoCAD 2010, ObjectARX 2010, Visual Studio 2008 SP1, Windows XP 32 bit SP3&lt;BR /&gt;
(2) Wrote the simplest Hello World application as per the ObjectARX sample. The solution references acdbmgd and acmgd from the ObjectARX\inc-win32 folder&lt;BR /&gt;
(3) Set the debug executable to acad.exe.&lt;BR /&gt;
(4) Run the solution, gives an error "Exception has been throws by the target of invocation..." pointing to AcAppFrame.xaml. I am able to continue the debug by clicking the Continue button.&lt;BR /&gt;
(5) At the AutoCAD prompt, netload the hello dll.&lt;BR /&gt;
(6) Give Hello command - AutoCAD says unknown command.&lt;BR /&gt;
&lt;BR /&gt;
If I netload the dll by running AutoCAD outside te debugger, the hello command works.&lt;BR /&gt;
&lt;BR /&gt;
Any idea what is going on here  - I am new to Arx .NET development on AutoCAD 2010. Have I missed any important setting here? I have attached the project.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Gagan</description>
      <pubDate>Sat, 27 Feb 2010 23:51:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640779#M66670</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-27T23:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Debug problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640780#M66671</link>
      <description>AutoCAD's managed runtime routinely throws exceptions.&lt;BR /&gt;
&lt;BR /&gt;
By default, Visual Studio will break on any managed exception in the process,&lt;BR /&gt;
not just those that are thrown by code that's called by your own code.&lt;BR /&gt;
&lt;BR /&gt;
To prevent it, goto Tools-&amp;gt;Options, and select the 'Debugging' node&lt;BR /&gt;
in the tree on the left.&lt;BR /&gt;
&lt;BR /&gt;
Then, check "Enable Just My Code..." on the right.&lt;BR /&gt;
&lt;BR /&gt;
You can also enable or disable breaking on specific exceptions using&lt;BR /&gt;
Exceptions dialog (Debug-&amp;gt;Exceptions).&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GAGANGAJABAHARIA&gt; wrote in message news:6345603@discussion.autodesk.com...&lt;BR /&gt;
I am setting up a new machine for my development and I have run into a problem&lt;BR /&gt;
in which the Visual Studio debugger doesn't let me debug my application. I tried&lt;BR /&gt;
to isolate the problem by using te simplest Hello World application. The details&lt;BR /&gt;
are as under:&lt;BR /&gt;
&lt;BR /&gt;
(1) Using AutoCAD 2010, ObjectARX 2010, Visual Studio 2008 SP1, Windows XP 32&lt;BR /&gt;
bit SP3&lt;BR /&gt;
(2) Wrote the simplest Hello World application as per the ObjectARX sample. The&lt;BR /&gt;
solution references acdbmgd and acmgd from the ObjectARX\inc-win32 folder&lt;BR /&gt;
(3) Set the debug executable to acad.exe.&lt;BR /&gt;
(4) Run the solution, gives an error "Exception has been throws by the target of&lt;BR /&gt;
invocation..." pointing to AcAppFrame.xaml. I am able to continue the debug by&lt;BR /&gt;
clicking the Continue button.&lt;BR /&gt;
(5) At the AutoCAD prompt, netload the hello dll.&lt;BR /&gt;
(6) Give Hello command - AutoCAD says unknown command.&lt;BR /&gt;
&lt;BR /&gt;
If I netload the dll by running AutoCAD outside te debugger, the hello command&lt;BR /&gt;
works.&lt;BR /&gt;
&lt;BR /&gt;
Any idea what is going on here  - I am new to Arx .NET development on AutoCAD&lt;BR /&gt;
2010. Have I missed any important setting here? I have attached the project.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Gagan&lt;/GAGANGAJABAHARIA&gt;</description>
      <pubDate>Sat, 27 Feb 2010 23:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640780#M66671</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-27T23:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Debug problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640781#M66672</link>
      <description>Thanks, Tony. The setting that you suggested is already set. AutoCAD still complains that Hello is an unknown command. I have attached the exception stack herewith - does that help any? Also, do I need to set up any settings in the Debug&amp;gt;Exceptions - I have left it to whatever the default settings are when the VS was installed.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Gagan</description>
      <pubDate>Sun, 28 Feb 2010 02:31:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640781#M66672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-28T02:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: Debug problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640782#M66673</link>
      <description>In your project references, make sure the CopyLocal&lt;BR /&gt;
property for acmdg.dll and acdbmgd.dll, and any other&lt;BR /&gt;
Autodesk-supplied assemblies, are all set to false.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD&lt;BR /&gt;
Supporting AutoCAD 2000 through 2010&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");&lt;BR /&gt;
&lt;BR /&gt;
&lt;GAGANGAJABAHARIA&gt; wrote in message news:6345660@discussion.autodesk.com...&lt;BR /&gt;
Thanks, Tony. The setting that you suggested is already set. AutoCAD still &lt;BR /&gt;
complains that Hello is an unknown command. I have attached the exception stack &lt;BR /&gt;
herewith - does that help any? Also, do I need to set up any settings in the &lt;BR /&gt;
Debug&amp;gt;Exceptions - I have left it to whatever the default settings are when the &lt;BR /&gt;
VS was installed.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Gagan&lt;/GAGANGAJABAHARIA&gt;</description>
      <pubDate>Sun, 28 Feb 2010 03:00:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640782#M66673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-28T03:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Debug problems</title>
      <link>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640783#M66674</link>
      <description>Thank you Tony, that fixed it!&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Gagan</description>
      <pubDate>Sun, 28 Feb 2010 03:36:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debug-problems/m-p/2640783#M66674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-02-28T03:36:55Z</dc:date>
    </item>
  </channel>
</rss>

