<?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: CW 10.1 - How to break debugger when variable changes in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW-10-1-How-to-break-debugger-when-variable-changes/m-p/189954#M4767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am not an expert on MCF51CN128, but for other MCUs I used watchpoints for this purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To set a watchpoint:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- In the Variable Windows display the variable you want to track&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click right on the variable name&amp;nbsp;and select watchpoint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Adjust settings of the watchpoint to whatever you want to track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Note that watchpoint may not be supported&amp;nbsp;on all&amp;nbsp;MCUs as it requires some HW resources to function properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But it might be worth a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Dec 2011 16:33:14 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2011-12-13T16:33:14Z</dc:date>
    <item>
      <title>CW 10.1 - How to break debugger when variable changes</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW-10-1-How-to-break-debugger-when-variable-changes/m-p/189953#M4766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m using the Multilink Universal debugger with a 6-wire BDM cable to debug a MCF51CN128 Coldfire MCU.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the debugger to 'break' on the line of code causing one of my variables to change values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 03:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW-10-1-How-to-break-debugger-when-variable-changes/m-p/189953#M4766</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-12-13T03:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: CW 10.1 - How to break debugger when variable changes</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW-10-1-How-to-break-debugger-when-variable-changes/m-p/189954#M4767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am not an expert on MCF51CN128, but for other MCUs I used watchpoints for this purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; To set a watchpoint:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- In the Variable Windows display the variable you want to track&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click right on the variable name&amp;nbsp;and select watchpoint&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Adjust settings of the watchpoint to whatever you want to track.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Note that watchpoint may not be supported&amp;nbsp;on all&amp;nbsp;MCUs as it requires some HW resources to function properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; But it might be worth a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2011 16:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/CW-10-1-How-to-break-debugger-when-variable-changes/m-p/189954#M4767</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-12-13T16:33:14Z</dc:date>
    </item>
  </channel>
</rss>

