<?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: Code Completion produces Unhandled Exception Error in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131225#M514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Oh yes&amp;nbsp;sorry, I forgot to mention which version of the tool we are using.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So we have this problem&amp;nbsp;with :&lt;/DIV&gt;&lt;DIV&gt;- CodeWarrior for ColdFire v5.1, Build 31. The version of the IDE is 5.6.1.1570.&lt;/DIV&gt;&lt;DIV&gt;- CodeWarrior for HC08 v3.1, Build 4210. The version of the IDE is 5.6.1.1506.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, Code Completion seems not to be invoked when the file is open outside of a project. Indeed the problem occurs only if a project containing this source file is opened.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Patrick&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 13:52:44 GMT</pubDate>
    <dc:creator>patvid</dc:creator>
    <dc:date>2006-09-26T13:52:44Z</dc:date>
    <item>
      <title>Code Completion produces Unhandled Exception Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131223#M512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi all,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier; font-size: 2;"&gt;Please have a look at code snippet below :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Courier; font-size: 2;"&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;/* * File:&amp;nbsp; main.c * Purpose:&amp;nbsp; sample program * */typedef struct { int&amp;nbsp;&amp;nbsp; value;} T_StructA;typedef struct {&amp;nbsp; T_StructA&amp;nbsp;&amp;nbsp; *structA;} T_StructB;void funcA(void);void funcB(T_StructB *structB);void funcA(void){&amp;nbsp;&amp;nbsp;&amp;nbsp; T_StructA structA;&amp;nbsp; T_StructB this;&amp;nbsp; //Initialization&amp;nbsp;&amp;nbsp;&amp;nbsp; this.structA = &amp;amp;structA; (this.structA)-&amp;gt;value = 0;&amp;nbsp; //Problem when typing call to funcB:&amp;nbsp; //When typing opening bracket, Code Completion produces Unhandled Exception Error&amp;nbsp; //This error does not occur when either :&amp;nbsp; // - Code Completion is disabled&amp;nbsp; // - "(this.structA)-&amp;gt;value = 0;" is written "this.structA-&amp;gt;value = 0;"&amp;nbsp; // - local variable "this" is renamed to any other name&amp;nbsp; funcB();}void funcB(T_StructB *structB) {&amp;nbsp; return;&amp;nbsp; }int main(){}&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;As explained in the comment Code Completion raises an unhandled exception error when typing the opening brace of call to funcB.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The error message is :&lt;/DIV&gt;&lt;DIV&gt;"CodeWarrior encountered an unhandled exception 0xc0000005 at address 0x02a5366a)&lt;/DIV&gt;&lt;DIV&gt;(The memory at address 0x00000004 could not be read)&lt;/DIV&gt;&lt;DIV&gt;Location : CPPPCodeCompletion.dll:0x1002366a&lt;/DIV&gt;&lt;DIV&gt;Chose 'Abort' to end the program, 'Retry' to debug, or 'Ignore' to continue (at your own risk !)"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When selecting 'Ignore' the execution continues normally, but it is painful because each time Code Completion is invoked the error message comes, whatever function call is typed.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any already encountered this problem ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Patrick&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2006 22:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131223#M512</guid>
      <dc:creator>patvid</dc:creator>
      <dc:date>2006-09-25T22:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Code Completion produces Unhandled Exception Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131224#M513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I tried this code with HC12 V4.1 and V4.5, both worked actually. The did display funcB's parameter type when I entered the (.&lt;BR /&gt;So which version of which tool do you use?&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 03:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131224#M513</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-09-26T03:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Code Completion produces Unhandled Exception Error</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131225#M514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Oh yes&amp;nbsp;sorry, I forgot to mention which version of the tool we are using.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So we have this problem&amp;nbsp;with :&lt;/DIV&gt;&lt;DIV&gt;- CodeWarrior for ColdFire v5.1, Build 31. The version of the IDE is 5.6.1.1570.&lt;/DIV&gt;&lt;DIV&gt;- CodeWarrior for HC08 v3.1, Build 4210. The version of the IDE is 5.6.1.1506.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, Code Completion seems not to be invoked when the file is open outside of a project. Indeed the problem occurs only if a project containing this source file is opened.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Regards&lt;/DIV&gt;&lt;DIV&gt;Patrick&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 13:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Code-Completion-produces-Unhandled-Exception-Error/m-p/131225#M514</guid>
      <dc:creator>patvid</dc:creator>
      <dc:date>2006-09-26T13:52:44Z</dc:date>
    </item>
  </channel>
</rss>

