<?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: Works in Debug Mode, not in Run Mode in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62025#M1699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try debugging the crash in Visual Studio.&amp;nbsp; Hopefully, the stack trace will show you the source of the crash.&amp;nbsp; You can either run ArcMap from Visual Studio or attach it to the ArcMap process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure that you generate debugging symbols for your VB6 DLL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Oct 2010 19:20:47 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2010-10-15T19:20:47Z</dc:date>
    <item>
      <title>Works in Debug Mode, not in Run Mode</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62024#M1698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on a macro in VB6 which works fine in Debug mode as long as I am stepping through it (10 - 15 minutes if I want to), but it crashes instantly whenever I go into Run mode.&amp;nbsp; I don't get a VB or ArcObjects error message, ArcMap crashes and I get the "Please tell ESRI about this problem" message.&amp;nbsp; Any clue? Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 18:39:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62024#M1698</guid>
      <dc:creator>AultonSmith</dc:creator>
      <dc:date>2010-10-15T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Works in Debug Mode, not in Run Mode</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62025#M1699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try debugging the crash in Visual Studio.&amp;nbsp; Hopefully, the stack trace will show you the source of the crash.&amp;nbsp; You can either run ArcMap from Visual Studio or attach it to the ArcMap process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure that you generate debugging symbols for your VB6 DLL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 19:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62025#M1699</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2010-10-15T19:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Works in Debug Mode, not in Run Mode</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62026#M1700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply, Richard, but I'm afraid it's a bit over my head.&amp;nbsp; I may have worded my question poorly.&amp;nbsp; I am actually working in VBA directly in ArcMap and maybe I should have said "break mode" instead of "debug mode".&amp;nbsp; In any case, are you suggesting I export my macro to a .dll and try to run it that way.&amp;nbsp; Can you post a link to a source on how to run ArcMap from VisualStudio or attach it to the ArcMap process?&amp;nbsp; I would be much obliged.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aulton Smith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 19:34:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62026#M1700</guid>
      <dc:creator>AultonSmith</dc:creator>
      <dc:date>2010-10-15T19:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Works in Debug Mode, not in Run Mode</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62027#M1701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks as if I have solved the problem.&amp;nbsp; I isolated it by moving my breakpoint up and down one line at a time (not the most elegant solution, I admit).&amp;nbsp; The offending line was:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Set pEnumSplitPoint = pPolyCurve.SplitAtDistances(1, dblMidPoint, True, False)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had acquired this bit of code online somewhere, either from a forum post or a documentation sample, but in either case, it turned out to be faulty.&amp;nbsp; The 3rd argument (asRatios) should have been False.&amp;nbsp; I spent an entire day fruitlessly trying to find out what asRatios means.&amp;nbsp; Does anyone know?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 15:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62027#M1701</guid>
      <dc:creator>AultonSmith</dc:creator>
      <dc:date>2010-10-18T15:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Works in Debug Mode, not in Run Mode</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62028#M1702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...what asRatios means...?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The distance you provide is either a distance in map units (i.e. 100 Feet along the polycurve) or a ratio (i.e. 0.5 would be 50% along the polycurve, splitting it in half)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 17:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62028#M1702</guid>
      <dc:creator>JonHall</dc:creator>
      <dc:date>2010-10-19T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Works in Debug Mode, not in Run Mode</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62029#M1703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Jon.&amp;nbsp; So, I can see how, if your distance argument is &amp;gt; 1 and asRatios is True, that could can cause a problem...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aulton Smith&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 17:54:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/works-in-debug-mode-not-in-run-mode/m-p/62029#M1703</guid>
      <dc:creator>AultonSmith</dc:creator>
      <dc:date>2010-10-19T17:54:39Z</dc:date>
    </item>
  </channel>
</rss>

