<?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 String error functions in Release, not in Debug in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948291#M18865</link>
    <description>I've been trying to debug a legacy DLL that uses a VB6.0 (SP4) driver.  They both compile with zero errors and warnings.  The Release version appears to function well, but the debugger stops at the following line of code with a string out of bounds error:  &lt;BR /&gt;  &lt;BR /&gt;C       Now look for right square bracket  &lt;BR /&gt;  &lt;BR /&gt;        K = INDEX (LINE(J:J+15), RBRACK)  &lt;BR /&gt;   &lt;BR /&gt;RBRACK is ']' and is found in the string.    &lt;BR /&gt;  &lt;BR /&gt;LINE is an 80 character string, but the value of J is 70, so I can see the Out of Bounds error.  I was hoping there is a debugger setting that would let me ignore it, changing 15 to 10 led to other errors, as did increasing the string length.   &lt;BR /&gt;  &lt;BR /&gt;Any comments appreciated,  &lt;BR /&gt;dfh</description>
    <pubDate>Wed, 25 Apr 2001 06:35:11 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-04-25T06:35:11Z</dc:date>
    <item>
      <title>String error functions in Release, not in Debug</title>
      <link>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948291#M18865</link>
      <description>I've been trying to debug a legacy DLL that uses a VB6.0 (SP4) driver.  They both compile with zero errors and warnings.  The Release version appears to function well, but the debugger stops at the following line of code with a string out of bounds error:  &lt;BR /&gt;  &lt;BR /&gt;C       Now look for right square bracket  &lt;BR /&gt;  &lt;BR /&gt;        K = INDEX (LINE(J:J+15), RBRACK)  &lt;BR /&gt;   &lt;BR /&gt;RBRACK is ']' and is found in the string.    &lt;BR /&gt;  &lt;BR /&gt;LINE is an 80 character string, but the value of J is 70, so I can see the Out of Bounds error.  I was hoping there is a debugger setting that would let me ignore it, changing 15 to 10 led to other errors, as did increasing the string length.   &lt;BR /&gt;  &lt;BR /&gt;Any comments appreciated,  &lt;BR /&gt;dfh</description>
      <pubDate>Wed, 25 Apr 2001 06:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948291#M18865</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-25T06:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: String error functions in Release, not in Debug</title>
      <link>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948292#M18866</link>
      <description>Why do you want to ignore the error?  If you did (by disabling array and string bounds checking), your code would be accessing off the end of the string.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 25 Apr 2001 09:58:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948292#M18866</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-04-25T09:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: String error functions in Release, not in Debug</title>
      <link>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948293#M18867</link>
      <description>This section of code was developed over several years in the eighties, and hadn't previously caused problems.     &lt;BR /&gt;  &lt;BR /&gt;I don't know compilers, and I find it odd that the CVF release version functions but not the debugger.  Though probably worth mentioning, it also worked on FPS 4.0 debugger and release versions (I know, I know FPS is a poison compiler).    &lt;BR /&gt;  &lt;BR /&gt;If it's bad programming, I'll change it, but I have tendency to introduce more errors than I solve when I'm don't write the code myself.</description>
      <pubDate>Wed, 25 Apr 2001 11:00:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948293#M18867</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-25T11:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: String error functions in Release, not in Debug</title>
      <link>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948294#M18868</link>
      <description>Steve, Please disregard, I just changed  &lt;BR /&gt; &lt;BR /&gt;K = INDEX (LINE(J:J+15),  &lt;BR /&gt; &lt;BR /&gt;to  &lt;BR /&gt;K = INDEX (LINE(J:) &lt;BR /&gt; &lt;BR /&gt;and it appears to have loaded all of the records.  If it checks out, it's not a  problem anymore. &lt;BR /&gt; &lt;BR /&gt;Thanks for your time, &lt;BR /&gt;dfh</description>
      <pubDate>Wed, 25 Apr 2001 11:21:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/String-error-functions-in-Release-not-in-Debug/m-p/948294#M18868</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-04-25T11:21:52Z</dc:date>
    </item>
  </channel>
</rss>

