<?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 Break points not stopping code on modeless forms in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3364303#M56982</link>
    <description>&lt;P&gt;I am using acad 2012, and VS 2010 (C#) on win 7 64 bit.&lt;/P&gt;&lt;P&gt;I made a form, and showing it as modeless via Application.ShowModelessDialog... as recommended by everyone and that works fine.&lt;/P&gt;&lt;P&gt;I have a button that does something, and I set a break point right on the first line of code for its callback.&lt;/P&gt;&lt;P&gt;The button runs fine, but VS is not stopping at the break point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a different technique required when debugging modeless forms?&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
    <pubDate>Fri, 09 Mar 2012 00:20:21 GMT</pubDate>
    <dc:creator>JamesMaeding</dc:creator>
    <dc:date>2012-03-09T00:20:21Z</dc:date>
    <item>
      <title>Break points not stopping code on modeless forms</title>
      <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3364303#M56982</link>
      <description>&lt;P&gt;I am using acad 2012, and VS 2010 (C#) on win 7 64 bit.&lt;/P&gt;&lt;P&gt;I made a form, and showing it as modeless via Application.ShowModelessDialog... as recommended by everyone and that works fine.&lt;/P&gt;&lt;P&gt;I have a button that does something, and I set a break point right on the first line of code for its callback.&lt;/P&gt;&lt;P&gt;The button runs fine, but VS is not stopping at the break point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a different technique required when debugging modeless forms?&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 00:20:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3364303#M56982</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2012-03-09T00:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Break points not stopping code on modeless forms</title>
      <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3364541#M56983</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;have you set Framework4 as the current Framework for your project?&lt;/P&gt;&lt;P&gt;If you don't want FW4 then a good point to look at: &lt;A target="_self" href="http://through-the-interface.typepad.com/through_the_interface/2010/04/hitting-breakpoints-in-net-class-libraries-while-debugging-with-visual-studio-2010.html"&gt;&amp;gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And NEXTFIBERWORLD could be a point-of-interest, look to &lt;A target="_self" href="http://through-the-interface.typepad.com/through_the_interface/2011/09/no-source-available-when-debugging-an-autocad-plug-in.html"&gt;&amp;gt;&amp;gt;&amp;gt;this issue&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 08:01:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3364541#M56983</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-03-09T08:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Break points not stopping code on modeless forms</title>
      <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365303#M56984</link>
      <description>&lt;P&gt;yah, setting framework to 4 did the trick.&lt;/P&gt;&lt;P&gt;The other options Kean mentioned are less desirable.&lt;/P&gt;&lt;P&gt;Wish I could stick with 3.5, as 4 is not always on a given machine.&lt;/P&gt;&lt;P&gt;Guess I can switch back before deploying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a bunch for your reply, i was worried about this last night.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 16:34:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365303#M56984</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2012-03-09T16:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Break points not stopping code on modeless forms</title>
      <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365715#M56985</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; Wish I could stick with 3.5, as 4 is not always on a given machine.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If AutoCAD 2012 is installed, then Framework 4 is installed, it does not run without! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 20:53:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365715#M56985</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-03-09T20:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Break points not stopping code on modeless forms</title>
      <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365723#M56986</link>
      <description>&lt;P&gt;I lose track of what needs what. I program for 2009 and 2012 so I will just target each project for correct framework.&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 20:56:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365723#M56986</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2012-03-09T20:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Break points not stopping code on modeless forms</title>
      <link>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365749#M56987</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; I lose track of what needs what&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;check the bottom of &lt;A href="http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&amp;amp;id=7236884&amp;amp;linkID=9240697" target="_self"&gt;&amp;gt;&amp;gt;&amp;gt;this link&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;...and for 2012 you need 4.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2012 21:08:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/break-points-not-stopping-code-on-modeless-forms/m-p/3365749#M56987</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-03-09T21:08:39Z</dc:date>
    </item>
  </channel>
</rss>

