<?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>Softdevice NRF_FAULT_ID_SD_ASSERT during GDB debug session</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29681/softdevice-nrf_fault_id_sd_assert-during-gdb-debug-session</link><description>Hi,
I found my debug session keeps reset due to this error (code jump into app_error_fault_handler) when I stepped through my code. This happens at random places. I&amp;#39;m not my code can cause this issue. What is this error? How can I fix or avoid it? </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jan 2018 03:38:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29681/softdevice-nrf_fault_id_sd_assert-during-gdb-debug-session" /><item><title>RE: Softdevice NRF_FAULT_ID_SD_ASSERT during GDB debug session</title><link>https://devzone.nordicsemi.com/thread/117808?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 03:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e43354b1-a08d-4394-93d1-fdce8928974e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;You can&amp;#39;t debug with the softdevice running, at least not if it&amp;#39;s actually doing anything like either advertising or in connection. It has very strict timing requirements and as soon as you halt it in the debugger it will fail internal checks when it  gets going again.&lt;/p&gt;
&lt;p&gt;You need to debug  either with RTT or just putting one breakpoint in and looking at the registers at that point only or , if you are  on an nRF52 chip, look at the blog posts about Monitor Mode Debugging which will let  you  debug with the softdevice running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>