<?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: Debug 2007objectArx with Visual Studio 2005 in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856036#M22223</link>
    <description>You need to make sure your solution's 'Debug' configuration is current, &lt;BR /&gt;
select Rebuild All, then change your debugger settings as follows: set &lt;BR /&gt;
'Command' to the path of acad.exe on your system, set 'Command Arguments' to &lt;BR /&gt;
"/ld $(TargetPath)" (without the quotes), and set 'Attach' to No.  Now set a &lt;BR /&gt;
breakpoint, press F5 to start debugging, then load and run a fact.arx &lt;BR /&gt;
command to trigger your breakpoint. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
-- &lt;BR /&gt;
Owen Wengerd&lt;BR /&gt;
President, ManuSoft ==&amp;gt; http://www.manusoft.com&lt;BR /&gt;
VP Americas, CADLock, Inc. ==&amp;gt; http://www.cadlock.com</description>
    <pubDate>Sat, 06 Jan 2007 16:38:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-01-06T16:38:05Z</dc:date>
    <item>
      <title>Debug 2007objectArx with Visual Studio 2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856035#M22222</link>
      <description>Hi&lt;BR /&gt;
I am trying to debug the "fact" sample that comes with objectarx 2007 samples.&lt;BR /&gt;
I can't. This is what i did&lt;BR /&gt;
1)I modify the Project-&amp;gt;properties-&amp;gt;Debugging-&amp;gt;Attach with value "yes". Then Compile and link with the "Debug" configuration, creating fact.arx&lt;BR /&gt;
2) Run Autocad 2007&lt;BR /&gt;
3) Attach the solution to acad.exe&lt;BR /&gt;
Put a breakpoint in some part of the code, and get a warning "The breakpoint will not currently be hit. No symbols has been load for this document", which gives me bad thinkings about the future (of my debugging, till now)&lt;BR /&gt;
4) Then when I load fact.arx, obviously it does not stop on the break point, although i can use fact.arx functions successfully.&lt;BR /&gt;
&lt;BR /&gt;
Then I'll try with the option of debugging with the "Start Debugging" and calling acad.exe from Visual Studio, and get a message:&lt;BR /&gt;
"Unable to attached. 'C:\Programs... acad.ex' is not running on 'PC4' "&lt;BR /&gt;
Being PC4 my machine name. &lt;BR /&gt;
Then I try to attach again, using the browse button for getting the name of the machine, which is PC4. Anything else that I put there (localhost, or ip)  instead of PC4, make disappear all the Available Process.&lt;BR /&gt;
So it seems, that the debugger does not recognize the name of my machine.  &lt;BR /&gt;
I disconnect from internet, and put down the firewall, and it still does not recognize it.&lt;BR /&gt;
Any idea? Other people managed to debug? Thanks in advance.</description>
      <pubDate>Sat, 06 Jan 2007 14:28:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856035#M22222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-06T14:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debug 2007objectArx with Visual Studio 2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856036#M22223</link>
      <description>You need to make sure your solution's 'Debug' configuration is current, &lt;BR /&gt;
select Rebuild All, then change your debugger settings as follows: set &lt;BR /&gt;
'Command' to the path of acad.exe on your system, set 'Command Arguments' to &lt;BR /&gt;
"/ld $(TargetPath)" (without the quotes), and set 'Attach' to No.  Now set a &lt;BR /&gt;
breakpoint, press F5 to start debugging, then load and run a fact.arx &lt;BR /&gt;
command to trigger your breakpoint. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
-- &lt;BR /&gt;
Owen Wengerd&lt;BR /&gt;
President, ManuSoft ==&amp;gt; http://www.manusoft.com&lt;BR /&gt;
VP Americas, CADLock, Inc. ==&amp;gt; http://www.cadlock.com</description>
      <pubDate>Sat, 06 Jan 2007 16:38:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856036#M22223</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-06T16:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Debug 2007objectArx with Visual Studio 2005</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856037#M22224</link>
      <description>Thanks, I managed to debug the way you say, but, what i really want is to ATTACH to a running autocad programm, rather than Visual Studio calling autocad each time I make a change to the code (even with the Edit and conitnue option, which is very limitating)&lt;BR /&gt;
Is the Attach Debug option,  supported from Visual Studio 2005 for Autodesk 2007 ?</description>
      <pubDate>Sun, 07 Jan 2007 14:24:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/debug-2007objectarx-with-visual-studio-2005/m-p/1856037#M22224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-07T14:24:24Z</dc:date>
    </item>
  </channel>
</rss>

