<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>[GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107564/gdb-debugger-seems-to-crash-when-stepping-inside-an-irq-handler</link><description>Hello there, Describe the bug When setting a breakpoint inside an IRQ handler in my application, I&amp;#39;m experiencing the following crash each time I try to continue, step over, step into or step out of the handler: /__w/_temp/workspace/build/.build/arm-zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2024 09:47:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107564/gdb-debugger-seems-to-crash-when-stepping-inside-an-irq-handler" /><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/515872?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 09:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:038deeaf-4021-457d-88a2-966b36f876ee</guid><dc:creator>Emil Lenngren</dc:creator><description>&lt;p&gt;Same issue with nRF Connect SDK 2.9.0, a bit annoying...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/487432?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 07:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5474dda0-11f0-4362-8b9b-51282fa4390b</guid><dc:creator>lutrampal</dc:creator><description>&lt;p&gt;Hi Markus,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. Unfortunately, in my case these config options are already turned on and the crash is still occurring.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/487270?ContentTypeID=1</link><pubDate>Tue, 04 Jun 2024 10:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ae9d6c8-605d-4a83-84f7-94521b98a0ab</guid><dc:creator>Markus_</dc:creator><description>&lt;p&gt;Hey, I think I experience the same issue on NRF5340 using sdk2.6. I can avoid this error by setting &lt;code class="code-line" style="background:none;border-radius:4px;display:inline-block;font-size:1em;line-height:1.357em;padding:0px;position:relative;" dir="auto" data-line="8"&gt;CONFIG_DEBUG_OPTIMIZATIONS=y and&lt;/code&gt;&lt;code class="code-line" style="background:none;border-radius:4px;display:inline-block;font-size:1em;line-height:1.357em;padding:0px;position:relative;" dir="auto" data-line="8"&gt;CONFIG_DEBUG_THREAD_INFO=y manually, instead of using the -Og optimization. Maybe this is then also an issue with nRF? &lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/465354?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 13:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87ace127-85ee-4ac0-be91-454aaf0e54f2</guid><dc:creator>lutrampal</dc:creator><description>&lt;p&gt;Indeed. Thank you for your time, I will mark this as resolved and see what the team Zephyr SDK team has to say.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/465306?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 12:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5641108b-1626-42bb-a988-91a8e1df9b64</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This seems like a debugger issue, it very much sounds like the gdb issues discussed in &lt;a href="https://github.com/riscvarchive/riscv-binutils-gdb/issues/230"&gt;this forum&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/465277?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 11:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa880f17-fe92-4f00-8262-b20346b03489</guid><dc:creator>lutrampal</dc:creator><description>&lt;p&gt;Hi Susheel and thank you for your reply,&lt;/p&gt;
&lt;p&gt;That is a great suggestion! I&amp;#39;ve just tried to replicate the issue with Ozone and no, Segger&amp;#39;s debugger does not crash in this situation.&lt;/p&gt;
&lt;p&gt;Unfortunately I only have Nordic hardware at hand at the office so I won&amp;#39;t be able to tell if this is an nRF only issue or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [GDB] Debugger seems to crash when stepping inside an IRQ handler</title><link>https://devzone.nordicsemi.com/thread/465271?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 11:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5660a65-f61a-426d-9513-efeebfa9f606</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Do you think that this is is the issue with the nRF solution or in GDB in general?&lt;/p&gt;
&lt;p&gt;Have you tried to use any other debugger than gdb session? Try using the VSC extension or Segger ozone and see if you see the same.&amp;nbsp;&lt;/p&gt;
[quote user=""]- I&amp;#39;m in the process of updating the NRF SDK and &lt;strong&gt;I did not encounter this issue in the previous version used in my project (&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/v2.4.1"&gt;v2.4.1&lt;/a&gt;)&lt;/strong&gt;. I&amp;#39;m also reporting this crash as a &lt;a href="https://github.com/zephyrproject-rtos/sdk-ng/issues/727"&gt;Zephyr SDK issue&lt;/a&gt; in case this should be handled by the Zephyr team.[/quote]
&lt;p&gt;This is interesting, something broke somewhere. But I can help you try to get solution for this once we know that this is only gdb specific or issue in general with any debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>