<?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: True-Time Simulator and Real-Time Debugger breakpoint troubles in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/True-Time-Simulator-and-Real-Time-Debugger-breakpoint-troubles/m-p/196759#M7307</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;1- Application does not stop when function is called&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where did you attempt to set your breakpoint? In a CodeWarrior edit window or in the&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;debugger source window?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In fact you need to set the breakpoint in the debugger/simulator source window.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Breakpoints set in the IDE edit window are not transferred to the debugger.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also, when you are in the debugger click with the right mouse button in&amp;nbsp;the Source window&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and select Mark. Is there a red mark in front of the instruction where you wanted to set a breakpoint?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If not there is no code generated for that instruction so you cannot set a breakpoint there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2- Are you sure you have generated debug information for your application source files?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a dot next to the file name in the column with the green bug?&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>Fri, 29 Feb 2008 20:32:30 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2008-02-29T20:32:30Z</dc:date>
    <item>
      <title>True-Time Simulator and Real-Time Debugger breakpoint troubles</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/True-Time-Simulator-and-Real-Time-Debugger-breakpoint-troubles/m-p/196758#M7306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hey,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm having a little difficulty using True-Time Simulator and Real-Time Debugger.&amp;nbsp; I make my program and there are no errors.&amp;nbsp; I click debug and True-Time Simulator starts up.&amp;nbsp; Place a break point in at a certain function so that when it gets called the program will stop and I can check a few things out.&amp;nbsp; I run the program and then I call the function.&amp;nbsp; The program runs without stopping. It goes right through the break point like it doesn't see it.&amp;nbsp; Strangely I did this very same thing on Friday and it worked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Second note that confuses me.&amp;nbsp; I place a breakpoint in main before anything really gets going in the program.&amp;nbsp; Once I run it the debugger stops the program at the breakpoint.&amp;nbsp; As soon as I hit "step over" the program stops and it tells me "no source reference found."&amp;nbsp; I'm not sure why that is or how to fix this problem.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can anyone explain these problems and possibly why they are happening and how I can maybe make my breakpoints work again?&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by mikehockstein on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-02-26&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;09:24 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 05:20:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/True-Time-Simulator-and-Real-Time-Debugger-breakpoint-troubles/m-p/196758#M7306</guid>
      <dc:creator>mikehockstein</dc:creator>
      <dc:date>2008-02-27T05:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: True-Time Simulator and Real-Time Debugger breakpoint troubles</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/True-Time-Simulator-and-Real-Time-Debugger-breakpoint-troubles/m-p/196759#M7307</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;1- Application does not stop when function is called&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where did you attempt to set your breakpoint? In a CodeWarrior edit window or in the&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;debugger source window?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; In fact you need to set the breakpoint in the debugger/simulator source window.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Breakpoints set in the IDE edit window are not transferred to the debugger.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also, when you are in the debugger click with the right mouse button in&amp;nbsp;the Source window&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; and select Mark. Is there a red mark in front of the instruction where you wanted to set a breakpoint?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If not there is no code generated for that instruction so you cannot set a breakpoint there.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;2- Are you sure you have generated debug information for your application source files?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Is there a dot next to the file name in the column with the green bug?&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>Fri, 29 Feb 2008 20:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/True-Time-Simulator-and-Real-Time-Debugger-breakpoint-troubles/m-p/196759#M7307</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2008-02-29T20:32:30Z</dc:date>
    </item>
  </channel>
</rss>

