<?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>Other NXP ProductsのトピックRe: I can't step over (F6) functions</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380554#M12692</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is the reason - GHS generates .elf file with debug info which is not fully compatible with GNU debugger and debugging is possible, but with limitations. I'm afraid that there is no solution for that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 10:39:48 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2021-12-02T10:39:48Z</dc:date>
    <item>
      <title>I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1372699#M12551</link>
      <description>&lt;P&gt;I'm debugging a S32K146 with the PE Micro / Multilinkuniversal FX and can not step over functions. Every time I want to step over (F6), I'm landing in the function I don't want to debug. Did anyone add this problem?&lt;/P&gt;&lt;P&gt;I use the&amp;nbsp;S32 Design Studio for ARM Version: 2018.R1 on Windows 10&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 10:30:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1372699#M12551</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-11-17T10:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1375681#M12597</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;do you have Optimization level set to None?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jiri_kral_0-1637674585058.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/162973iF9C527E425E45B7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="jiri_kral_0-1637674585058.png" alt="jiri_kral_0-1637674585058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 13:36:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1375681#M12597</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2021-11-23T13:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1375706#M12599</link>
      <description>&lt;P&gt;Hi Jiri, yes the optimization level of the project is to None.&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 14:22:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1375706#M12599</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-11-23T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1376864#M12619</link>
      <description>&lt;P&gt;but it always step in&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 08:27:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1376864#M12619</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-11-25T08:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1377018#M12624</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it always steps in each function or only to some particular one? What about breakpoints? Can you please share code snippet where debugger won't step over?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 11:15:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1377018#M12624</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2021-11-25T11:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380419#M12687</link>
      <description>&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;it step in each function. It does not step in because of a breakpoint, then I don't use this in one of the functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;May be this another information could help you: The debugging mode is optimized. I can not see every content of some expressions and it sometime skip lines of the code. The cursor skipped the lines 2032, 2033 and 2034 though the breakpoint is at 2032.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="El_Leon_Negro_237_0-1638432326945.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163878i31D2E762D8A7B7BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="El_Leon_Negro_237_0-1638432326945.png" alt="El_Leon_Negro_237_0-1638432326945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="El_Leon_Negro_237_0-1638431283727.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163876i224B3BEDC0424145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="El_Leon_Negro_237_0-1638431283727.png" alt="El_Leon_Negro_237_0-1638431283727.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;All the simple variables in the previous bild are redefined integer but only 3 of them are visible with the expression view. The optimized variables are set but I can not see their content. May be you know how to turn off this optimisation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, Léo&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380419#M12687</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-12-02T08:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380548#M12691</link>
      <description>&lt;P&gt;Another information: I doesn't compile my project with S32K design studio but with Greenhills. I use the design studio only to flash and debug my s32k hardware.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:24:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380548#M12691</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-12-02T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380554#M12692</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is the reason - GHS generates .elf file with debug info which is not fully compatible with GNU debugger and debugging is possible, but with limitations. I'm afraid that there is no solution for that.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380554#M12692</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2021-12-02T10:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380558#M12693</link>
      <description>&lt;P&gt;Thank you for your help jiri.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 10:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380558#M12693</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-12-02T10:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380619#M12695</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found this old response to similar issue from my colleague - you may find it helpful:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging an elf file generated by the GHS compiler&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;may not work correctly: missing call&lt;BR /&gt;stack information, incorrect info on step into function, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Workaround&lt;/SPAN&gt;&lt;SPAN&gt;: In case of GHS generates the GDB incompatible debug information, it prevents&lt;BR /&gt;the debugger displaying the call stack. Sometimes gdb can still debug your program without this&lt;BR /&gt;information. The post-build step should be executed: open the project properties, click&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;C/C++&lt;BR /&gt;Build&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Settings&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;and select the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Build Steps&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;tab, then add the following command:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;gstrip –&lt;BR /&gt;r=.debug_frame&lt;/SPAN&gt;&lt;SPAN&gt;. Switch to Instruction Stepping Mode to be able to step through function.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jiri&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 12:21:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1380619#M12695</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2021-12-02T12:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: I can't step over (F6) functions</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1381039#M12702</link>
      <description>&lt;P&gt;Hello Jiri,&lt;/P&gt;&lt;P&gt;it did not work. But thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Léo&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 07:17:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/I-can-t-step-over-F6-functions/m-p/1381039#M12702</guid>
      <dc:creator>El_Leon_Negro_237</dc:creator>
      <dc:date>2021-12-03T07:17:01Z</dc:date>
    </item>
  </channel>
</rss>

