<?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: Breakpoint directly on C source code in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333511#M11101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Settings in the Editor/source view only works line by line, so you cannot set there a breakpoint on the else part, if you have all the source on a single line.&lt;/P&gt;&lt;P&gt;But you can use the disassembly view: here you can set breakpoints on the else block (on the assembly instruction).&lt;/P&gt;&lt;P&gt;Otherwise see&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/" title="http://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/"&gt;http://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 16:41:57 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2014-10-17T16:41:57Z</dc:date>
    <item>
      <title>Breakpoint directly on C source code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333510#M11100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I start to work with Codewarrior 10.6 and I have a little question about the breakpoint placement during debug session.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a code written like this:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;test:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;if(PTAD_PTAD1==1){PTBD_PTBD1=1}else{&lt;SPAN style="font-size: 13.6000003814697px;"&gt;PTBD_PTBD1=0;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal, monaco;"&gt;goto test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can place breakpoint on the line (before if instruction) but is it possible to place a breakpoint only in the "else" bloc ?&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 13:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333510#M11100</guid>
      <dc:creator>patonsebastien</dc:creator>
      <dc:date>2014-10-17T13:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint directly on C source code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333511#M11101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Settings in the Editor/source view only works line by line, so you cannot set there a breakpoint on the else part, if you have all the source on a single line.&lt;/P&gt;&lt;P&gt;But you can use the disassembly view: here you can set breakpoints on the else block (on the assembly instruction).&lt;/P&gt;&lt;P&gt;Otherwise see&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/" title="http://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/"&gt;http://mcuoneclipse.com/2012/10/27/assembly-instruction-stepping/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 16:41:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333511#M11101</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-10-17T16:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint directly on C source code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333512#M11102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Erich said, placing breakpoints on C code works on a line-by-line basis. If you need a breakpoint on the else clause, the most straightforward thing to do is to insert a couple of newlines, so that the if and the else clauses are on separate lines.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 21:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333512#M11102</guid>
      <dc:creator>matthewkendall</dc:creator>
      <dc:date>2014-10-17T21:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Breakpoint directly on C source code</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333513#M11103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. I hope one day codewarrior 10 will support the breakpoints like this. It was sometimes very useful on Hiwave&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 06:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Breakpoint-directly-on-C-source-code/m-p/333513#M11103</guid>
      <dc:creator>patonsebastien</dc:creator>
      <dc:date>2014-10-20T06:09:03Z</dc:date>
    </item>
  </channel>
</rss>

