<?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: Unable to step through C source with debugger, keep getting into interrupt handler. in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172251#M5366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are debugging on a hardware board with a Multilink or Cyclone PRO cable.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Per default when you are stepping the debugger will stop at the next instruction executed. If an interrupt arises, it will stop inside of the interrupt function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can disable that behavior in the following way:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start the debugger the usual way&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select "Multilink/CyclonePro" -&amp;gt; "Connect". The Connection dialog is opened.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Switch to the "Special Setup" tab&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Check the box "Disable maskable ISR's when stepping"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click OK to close the dialog.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now PC should not enter interrupt function when you are stepping.&lt;/DIV&gt;&lt;DIV&gt;Only non-maskable interrupts might interrupt the execution.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 19:28:17 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2007-12-12T19:28:17Z</dc:date>
    <item>
      <title>Unable to step through C source with debugger, keep getting into interrupt handler.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172250#M5365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to code warrior and to the HCS12, and are learning the debugger.&amp;nbsp; When I stop at a break point and want to step to next line of C-source, instead of going to the next line I get put into another function that is an interrupt handler.&amp;nbsp; I have tried all the different step buttons, but to no avail.&amp;nbsp; How should I handle this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Brian&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 01:44:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172250#M5365</guid>
      <dc:creator>BrianW</dc:creator>
      <dc:date>2007-12-12T01:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to step through C source with debugger, keep getting into interrupt handler.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172251#M5366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I assume you are debugging on a hardware board with a Multilink or Cyclone PRO cable.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Per default when you are stepping the debugger will stop at the next instruction executed. If an interrupt arises, it will stop inside of the interrupt function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;You can disable that behavior in the following way:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start the debugger the usual way&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select "Multilink/CyclonePro" -&amp;gt; "Connect". The Connection dialog is opened.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Switch to the "Special Setup" tab&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Check the box "Disable maskable ISR's when stepping"&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click OK to close the dialog.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Now PC should not enter interrupt function when you are stepping.&lt;/DIV&gt;&lt;DIV&gt;Only non-maskable interrupts might interrupt the execution.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 19:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172251#M5366</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-12-12T19:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to step through C source with debugger, keep getting into interrupt handler.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172252#M5367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Talk about missing the obvious! I think it's been FOUR YEARS now I just clicked on the interrupt bit to disable interrupts when I was debugging! That works too, but then if you forget to disable ints, now you have to do it again. Or forget to turn them back on when you're done debugging what you're in on. Or even single stepping through code that disables and enables ints...&lt;BR /&gt;&lt;BR /&gt;ARRGGHH!!!!&lt;BR /&gt;&lt;BR /&gt;Mike&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 21:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172252#M5367</guid>
      <dc:creator>mke_et</dc:creator>
      <dc:date>2007-12-12T21:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to step through C source with debugger, keep getting into interrupt handler.</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172253#M5368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;That worked.&lt;BR /&gt;Thanks,&lt;BR /&gt;Brian&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 22:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Unable-to-step-through-C-source-with-debugger-keep-getting-into/m-p/172253#M5368</guid>
      <dc:creator>BrianW</dc:creator>
      <dc:date>2007-12-12T22:56:45Z</dc:date>
    </item>
  </channel>
</rss>

