<?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 CW10.4 breakpoints not working...? in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250640#M9658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using CW10.4 on WinXP.&amp;nbsp; I have a project that uses a K10 72 MHz variant.&amp;nbsp; When I initiate a debug session, I can set a breakpoint, and it will work *once*.&amp;nbsp; After that, it seems to be ignored - even though the symbol and checkmark in the margin of the editor window remain.&amp;nbsp; I'm debugging the code in flash, so, I'm using a hardware breakpoint.&amp;nbsp; I only have one set (I know the limit is 4).&amp;nbsp; The connection to the system is a P&amp;amp;E multilink universal USB.&amp;nbsp; Does anyone have any ideas? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may or may not be related to the above problem, but, I notice that when I add global variables to the variable window, they are disabled by default.&amp;nbsp; When I right click on one them, the "enable" checkbox is checked, and when I *un-check* it, the variable appears!&amp;nbsp; Just the opposite of the behavior I'd expect... &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of these things seemed to work fine on my previous project using a K40 processor and CW10.1.&amp;nbsp; Maybe these are issues with the K10...?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 17:26:26 GMT</pubDate>
    <dc:creator>KeithL</dc:creator>
    <dc:date>2013-07-02T17:26:26Z</dc:date>
    <item>
      <title>CW10.4 breakpoints not working...?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250640#M9658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using CW10.4 on WinXP.&amp;nbsp; I have a project that uses a K10 72 MHz variant.&amp;nbsp; When I initiate a debug session, I can set a breakpoint, and it will work *once*.&amp;nbsp; After that, it seems to be ignored - even though the symbol and checkmark in the margin of the editor window remain.&amp;nbsp; I'm debugging the code in flash, so, I'm using a hardware breakpoint.&amp;nbsp; I only have one set (I know the limit is 4).&amp;nbsp; The connection to the system is a P&amp;amp;E multilink universal USB.&amp;nbsp; Does anyone have any ideas? &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may or may not be related to the above problem, but, I notice that when I add global variables to the variable window, they are disabled by default.&amp;nbsp; When I right click on one them, the "enable" checkbox is checked, and when I *un-check* it, the variable appears!&amp;nbsp; Just the opposite of the behavior I'd expect... &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All of these things seemed to work fine on my previous project using a K40 processor and CW10.1.&amp;nbsp; Maybe these are issues with the K10...?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 17:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250640#M9658</guid>
      <dc:creator>KeithL</dc:creator>
      <dc:date>2013-07-02T17:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: CW10.4 breakpoints not working...?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250641#M9659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well - looks like a rookie mistake on my part.&amp;nbsp; The code where my breakpoint was set was truly never getting executed.&amp;nbsp; Forgot to declare a certain variable "volatile" and so the compiler optimized that section of code out.&amp;nbsp; Didn't see what was going on 'til I looked at the disassembler window and tried to follow it there...&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 21:01:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250641#M9659</guid>
      <dc:creator>KeithL</dc:creator>
      <dc:date>2013-07-02T21:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: CW10.4 breakpoints not working...?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250642#M9660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Under some condition in your application, the compiler and linker could optimize some part of your application.&lt;/P&gt;&lt;P&gt;For the variables, moving a variable as global could be enough to avoid optimization.&lt;/P&gt;&lt;P&gt;However in some case the volatile keyword is required too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 06:01:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250642#M9660</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2013-07-03T06:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: CW10.4 breakpoints not working...?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250643#M9661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Pascal - I hadn't thought of that angle...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 13:49:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW10-4-breakpoints-not-working/m-p/250643#M9661</guid>
      <dc:creator>KeithL</dc:creator>
      <dc:date>2013-07-03T13:49:42Z</dc:date>
    </item>
  </channel>
</rss>

