<?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: setting breakpoints don´t work correctly - it turn to next lines - why? in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518466#M4409</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexandre,&lt;/P&gt;&lt;P&gt;that very much depends on optimizations and how/where you have the variables a, b and c. If they are local variables for example, the compiler will see that they are only written once with zero and never change. For 'bad' code like this the debug exprience will be bad too. You can prevent the compiler optimization with disabling the optimizations or mark the variables with 'volatile' keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jun 2016 05:39:28 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2016-06-11T05:39:28Z</dc:date>
    <item>
      <title>setting breakpoints don´t work correctly - it turn to next lines - why?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518465#M4408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;01 for(i=0;i&amp;lt;var;var++)&lt;/P&gt;&lt;P&gt;02 {&lt;/P&gt;&lt;P&gt;03&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a= 0;&amp;nbsp;&amp;nbsp;&amp;nbsp; I put breakpoint here and the codewarrior put on line 05. Why? How can I fix this on debug window of codewarrior 10.6&lt;/P&gt;&lt;P&gt;04&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b = 0;&lt;/P&gt;&lt;P&gt;05&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c =0;&lt;/P&gt;&lt;P&gt;06 }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:30:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518465#M4408</guid>
      <dc:creator>alexandrevdp</dc:creator>
      <dc:date>2016-06-10T17:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: setting breakpoints don´t work correctly - it turn to next lines - why?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518466#M4409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alexandre,&lt;/P&gt;&lt;P&gt;that very much depends on optimizations and how/where you have the variables a, b and c. If they are local variables for example, the compiler will see that they are only written once with zero and never change. For 'bad' code like this the debug exprience will be bad too. You can prevent the compiler optimization with disabling the optimizations or mark the variables with 'volatile' keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jun 2016 05:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518466#M4409</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-06-11T05:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: setting breakpoints don´t work correctly - it turn to next lines - why?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518467#M4410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!! I will try this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 15:52:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/setting-breakpoints-don-t-work-correctly-it-turn-to-next-lines/m-p/518467#M4410</guid>
      <dc:creator>alexandrevdp</dc:creator>
      <dc:date>2016-06-13T15:52:16Z</dc:date>
    </item>
  </channel>
</rss>

