<?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>LPCXpresso IDEのトピックRe: How does the LPCXpresso IDE implement step-into/step-over/step-return?</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665350#M32841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fall Guy,&lt;/P&gt;&lt;P&gt;This is very helpful.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;- step-into can be implemented by placing a breakpoint on the first instruction of the branch target&lt;/P&gt;&lt;P&gt;- step-over by setting a breakpoint on the instruction following&amp;nbsp;the branch instruction&lt;/P&gt;&lt;P&gt;- step return by reading the stack for the function return address and setting the breakpoint there.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What if I have already set all the hardware break points(6 for my microcontroller) available while debugging?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does the debugger remove the breakpoint which was set ahead and set as per the requirement and reset back to where it was originally after finishing the work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chaitanya Praveen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2017 02:41:01 GMT</pubDate>
    <dc:creator>chaitanyapravee</dc:creator>
    <dc:date>2017-01-09T02:41:01Z</dc:date>
    <item>
      <title>How does the LPCXpresso IDE implement step-into/step-over/step-return?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665348#M32839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I am using lpcxpresso v8.2.2 IDE for debugging my application. I am very curious to know how the step-into/step-over/step-return are implemented in the IDE.&lt;/P&gt;&lt;P&gt;I tried searching for the same, I could not find any source.&lt;/P&gt;&lt;P&gt;If there is any document where this is discussed please share with me?&lt;/P&gt;&lt;P&gt;If someone could share some hints on how this is done, also very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Chaitanya Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2017 13:48:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665348#M32839</guid>
      <dc:creator>chaitanyapravee</dc:creator>
      <dc:date>2017-01-08T13:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: How does the LPCXpresso IDE implement step-into/step-over/step-return?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665349#M32840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a general introduction to debugging on Arm Cortex-M chips, I suggest that you read Chapter 15 ('The Debug Architecture') of "The Definitive Guide to the ARM Cortex-M3" by Joseph Yui, but simply:&lt;/P&gt;&lt;P&gt;- step-into can be implemented by placing a breakpoint on the first instruction of the branch target&lt;/P&gt;&lt;P&gt;- step-over by setting a breakpoint on the instruction following&amp;nbsp;the branch instruction&lt;/P&gt;&lt;P&gt;- step return by reading the stack for the function return address and setting the breakpoint there.&lt;/P&gt;&lt;P&gt;Some processors implement a single-step flag that can be used by debuggers to execute a single instruction before trapping&amp;nbsp;back to the debugger (useful for step-into).&lt;/P&gt;&lt;P&gt;The actual implementation will be far more complex than this as (for example) you may step at&amp;nbsp;source-level rather than assembly instruction level - but the principle is sound. This will be similar&amp;nbsp;for any debugger implementation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2017 16:10:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665349#M32840</guid>
      <dc:creator>thefallguy</dc:creator>
      <dc:date>2017-01-08T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: How does the LPCXpresso IDE implement step-into/step-over/step-return?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665350#M32841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Fall Guy,&lt;/P&gt;&lt;P&gt;This is very helpful.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;- step-into can be implemented by placing a breakpoint on the first instruction of the branch target&lt;/P&gt;&lt;P&gt;- step-over by setting a breakpoint on the instruction following&amp;nbsp;the branch instruction&lt;/P&gt;&lt;P&gt;- step return by reading the stack for the function return address and setting the breakpoint there.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What if I have already set all the hardware break points(6 for my microcontroller) available while debugging?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does the debugger remove the breakpoint which was set ahead and set as per the requirement and reset back to where it was originally after finishing the work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chaitanya Praveen&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2017 02:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/How-does-the-LPCXpresso-IDE-implement-step-into-step-over-step/m-p/665350#M32841</guid>
      <dc:creator>chaitanyapravee</dc:creator>
      <dc:date>2017-01-09T02:41:01Z</dc:date>
    </item>
  </channel>
</rss>

