<?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: Debugging extension in Visual Studio 2010 difficulties in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68266#M1832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has the assembly that you are trying to debug been built in Debug mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so then check the project options for Debug and make sure the optimizations have been disabled (they are by default).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 21:50:14 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2011-07-28T21:50:14Z</dc:date>
    <item>
      <title>Debugging extension in Visual Studio 2010 difficulties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68265#M1831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been moving code from my VS2008 ArcGIS 9.3.1 machine to the new VS 2010 ArcGIS 10.0 machine and have run into a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One of my extensions has been moved across and had updates made to the References an now works just fine (Install and Debug) are working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another extenstion I am moving over (I didn't write it) has been moved over and updated to the VS 2010 (through the wizard that you get automatically) and it will not debug. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get a message: "This code apears to have been optimized" and I cannot get the code to run in Debug mode (where I can step through it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 18:37:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68265#M1831</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2011-07-28T18:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging extension in Visual Studio 2010 difficulties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68266#M1832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Has the assembly that you are trying to debug been built in Debug mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so then check the project options for Debug and make sure the optimizations have been disabled (they are by default).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 21:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68266#M1832</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-07-28T21:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging extension in Visual Studio 2010 difficulties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68267#M1833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Has the assembly that you are trying to debug been built in Debug mode?&lt;BR /&gt; &lt;BR /&gt;If so then check the project options for Debug and make sure the optimizations have been disabled (they are by default).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, the project has been Built/Rebuilt in Debug Mode.&amp;nbsp; The error I was getting ..is reading &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"The following module was built either with optimizations enabled or without debug information"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sooo..&amp;nbsp; "&lt;/SPAN&gt;&lt;STRONG style="text-decoration: underline;"&gt;Enable Just My Code" in Tools/Options/Debugging/Options&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; (Visual Studio 2010) seemed to solve the problem.&amp;nbsp; You can read about it here...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Under &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/810203/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug"&gt;http://stackoverflow.com/questions/810203/the-following-module-was-built-either-with-optimizations-enabled-or-without-debug&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 09:26:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68267#M1833</guid>
      <dc:creator>AndrewDavis</dc:creator>
      <dc:date>2011-07-29T09:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging extension in Visual Studio 2010 difficulties</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68268#M1834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. You can delete all occurences (all projects) of the dll&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If its adin then try to delete your addin from &lt;C&gt; and your Bin folder.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then build the solution&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Properties" -&amp;gt; "Build" -&amp;gt; "Advanced" -&amp;gt; Debug Info: Full&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Unchecking "Just My Code" in Tools-&amp;gt;Options-&amp;gt;Debugging-&amp;gt;General.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this help to some else as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 21:28:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/debugging-extension-in-visual-studio-2010/m-p/68268#M1834</guid>
      <dc:creator>BhaskarSingh</dc:creator>
      <dc:date>2014-06-16T21:28:15Z</dc:date>
    </item>
  </channel>
</rss>

