<?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: How to debug without breakpoints? in ObjectARX Forum</title>
    <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5815354#M10930</link>
    <description>I dont know any high level language that displays the values of variables while the program is running. It would not make much sense anyway:&lt;BR /&gt;- The values would probably change too fast for you to see. Also they would flicker on / off all the time as the variable goes into and out off scope.&lt;BR /&gt;- You would need to somehow tell MSVC which variable you want. For example I would expect in our code to be probablöy 1000s or 10000s of integer variables called "i", almost all of them local variables to some function.&lt;BR /&gt;&lt;BR /&gt;I interpret you second question to be "what is the first place in my code that is called by AutoCAD so I can set a breakpoint in it".&lt;BR /&gt;I think yoiu will find one of the first places called by searching for "kInitAppMsg"</description>
    <pubDate>Mon, 14 Sep 2015 09:07:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-14T09:07:39Z</dc:date>
    <item>
      <title>How to debug without breakpoints?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5792938#M10928</link>
      <description>&lt;P&gt;Visual Studio 2012. AutoCAD 2015.&lt;BR /&gt;I ise c++.&amp;nbsp;I am building dll library.&lt;/P&gt;&lt;P&gt;in visual studio have no visible variables during debugging.&lt;BR /&gt;variables are visible only when the breakpoint.&lt;BR /&gt;I am building with the flag "MD".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How to debug without breakpoints?&lt;/P&gt;&lt;P&gt;How to debug since the launch of the program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2015 12:07:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5792938#M10928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T12:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug without breakpoints?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5815152#M10929</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately I didnt understand your query, can you explain me your query with more detail, flag /MD is right one for building a Acad arx-dll.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 05:49:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5815152#M10929</guid>
      <dc:creator>moogalm</dc:creator>
      <dc:date>2015-09-14T05:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug without breakpoints?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5815354#M10930</link>
      <description>I dont know any high level language that displays the values of variables while the program is running. It would not make much sense anyway:&lt;BR /&gt;- The values would probably change too fast for you to see. Also they would flicker on / off all the time as the variable goes into and out off scope.&lt;BR /&gt;- You would need to somehow tell MSVC which variable you want. For example I would expect in our code to be probablöy 1000s or 10000s of integer variables called "i", almost all of them local variables to some function.&lt;BR /&gt;&lt;BR /&gt;I interpret you second question to be "what is the first place in my code that is called by AutoCAD so I can set a breakpoint in it".&lt;BR /&gt;I think yoiu will find one of the first places called by searching for "kInitAppMsg"</description>
      <pubDate>Mon, 14 Sep 2015 09:07:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5815354#M10930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T09:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug without breakpoints?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5819735#M10931</link>
      <description>&lt;P&gt;It's a bit difficult to interpret&amp;nbsp;the question, but if the problem is that you're not hitting any break points, you probably need to do a debug build.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ensure C/C++/General tab in project properties has 'Debug Information Format' set to 'Program Database (/Zi), and Linker/Debugging tab has 'Generate Debug info' set to 'Yes (/DEBUG)' and 'Generate Program Database File' is set to $(OutDir)$(TargetName).pdb.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 15:37:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5819735#M10931</guid>
      <dc:creator>OysteinW</dc:creator>
      <dc:date>2015-09-16T15:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to debug without breakpoints?</title>
      <link>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5847700#M10932</link>
      <description>&lt;P&gt;You can break the execution in the Debugger at any time. But if you do this, you will probably not break inside of any of your functions. So you can only watch global variables.&lt;/P&gt;&lt;P&gt;To find out when a variable changes it's value, you can add "data breakpoints".&amp;nbsp;&lt;/P&gt;&lt;P&gt;The very first function, that is called in an ARX, DAX or DLL, is DllMain().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 17:49:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/objectarx-forum/how-to-debug-without-breakpoints/m-p/5847700#M10932</guid>
      <dc:creator>tbrammer</dc:creator>
      <dc:date>2015-10-06T17:49:50Z</dc:date>
    </item>
  </channel>
</rss>

