<?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: Cannot set breakpoint in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195108#M7172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks for the reply.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sorry, it is the 9S08JM60, and I'm using CW 6.1.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'll look into the -onf &amp;amp; -onb options.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which options in the pref panel should I be looking for?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've noticed that the compiler will 'reuse' routines, rather than re-generate&lt;/DIV&gt;&lt;DIV&gt;them.&amp;nbsp; I guess I want to turn off that, &amp;amp; just waste memory until I go through&lt;/DIV&gt;&lt;DIV&gt;the final debug.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Feb 2008 12:08:33 GMT</pubDate>
    <dc:creator>UtopiaTim</dc:creator>
    <dc:date>2008-02-24T12:08:33Z</dc:date>
    <item>
      <title>Cannot set breakpoint</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195106#M7170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi folks,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have an initialization routine:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;gselvp(0);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;gsetvp(4,3,50,14);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;gselfont(&amp;amp;mono5_8);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;These are merely function calls into an LCD driver package.&amp;nbsp; Each of the commands works well&lt;/DIV&gt;&lt;DIV&gt;in other parts of the program.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the debugger,&amp;nbsp; I can set a breakpoint on the 1st or the 2nd function call, but cannot on the 3rd.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;From what I can see, the compiler has perhaps seen a previous combination of these two calls, and&lt;/DIV&gt;&lt;DIV&gt;will go to that combo, rather than the individual ones in my code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is there an option in the compiler to not do this?&amp;nbsp; I'd like to do the debugging one function at a time.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When it's all done, I could turn off that switch &amp;amp; let it be more efficient.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sometimes the 'help' it's giving is a bit troublesome.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Tim&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 05:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195106#M7170</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-02-24T05:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set breakpoint</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195107#M7171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Which compiler are you using? Which device are you targeting?&lt;BR /&gt;&lt;BR /&gt;Guessing that you use a CW for HC08 or HC12, you can try to use&lt;BR /&gt;the options "-onf -onb=t -onbt".&lt;BR /&gt;There are also some "smart sliders" which set many options at once in the pref panel.&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 11:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195107#M7171</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2008-02-24T11:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot set breakpoint</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195108#M7172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi Daniel,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks for the reply.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Sorry, it is the 9S08JM60, and I'm using CW 6.1.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'll look into the -onf &amp;amp; -onb options.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which options in the pref panel should I be looking for?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've noticed that the compiler will 'reuse' routines, rather than re-generate&lt;/DIV&gt;&lt;DIV&gt;them.&amp;nbsp; I guess I want to turn off that, &amp;amp; just waste memory until I go through&lt;/DIV&gt;&lt;DIV&gt;the final debug.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Tim&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Feb 2008 12:08:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Cannot-set-breakpoint/m-p/195108#M7172</guid>
      <dc:creator>UtopiaTim</dc:creator>
      <dc:date>2008-02-24T12:08:33Z</dc:date>
    </item>
  </channel>
</rss>

