<?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: Do breakpoints affect code speed? in CodeWarrior for StarCore</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/Do-breakpoints-affect-code-speed/m-p/159341#M13</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;Hi Tim,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;The behavior for conditional breakpoints that you are seeing (speed slow down) is correct, because, even if the breakpoint is not hit (condition = TRUE), the condition needs to be evaluated each time the PC reach that region. For this, the debugger halts the core, check the condition and if it is FALSE then execute the next piece of code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;In this mode the IDE is not notified about the debugger action and the user has the feeling that everything runs permanently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;If you really want to make sure about this aspect you can open the CCS console and you can enable the logging (log v). You will see some interaction between the DSP and the CW where the conditional breakpoints are checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 21:37:28 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2011-08-23T21:37:28Z</dc:date>
    <item>
      <title>Do breakpoints affect code speed?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/Do-breakpoints-affect-code-speed/m-p/159340#M12</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have code that monitors if our data is being processed fast enough, and asserts if it is not. Without breakpoints, the code runs fine. If I add a breakpoint to critical areas, the code asserts, even if its a conditional breakpoint that never gets hit. This seems to indicate adding breakpoints slows down execution of the code. Is this the case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 22:25:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/Do-breakpoints-affect-code-speed/m-p/159340#M12</guid>
      <dc:creator>tim79</dc:creator>
      <dc:date>2011-08-15T22:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: Do breakpoints affect code speed?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/Do-breakpoints-affect-code-speed/m-p/159341#M13</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;Hi Tim,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;The behavior for conditional breakpoints that you are seeing (speed slow down) is correct, because, even if the breakpoint is not hit (condition = TRUE), the condition needs to be evaluated each time the PC reach that region. For this, the debugger halts the core, check the condition and if it is FALSE then execute the next piece of code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;In this mode the IDE is not notified about the debugger action and the user has the feeling that everything runs permanently.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 7.5pt; color: #51626f; font-family: 'Arial','sans-serif';"&gt;If you really want to make sure about this aspect you can open the CCS console and you can enable the logging (log v). You will see some interaction between the DSP and the CW where the conditional breakpoints are checked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 21:37:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/Do-breakpoints-affect-code-speed/m-p/159341#M13</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2011-08-23T21:37:28Z</dc:date>
    </item>
  </channel>
</rss>

