<?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: ASSERTION FAILED while debugging</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73300/softdevice-assertion-failed-while-debugging</link><description>Hi, 
 I&amp;#39;m having &amp;quot;SOFTDEVICE: ASSERTION FAILED&amp;quot; when I set a breakpoint or pause the program to check some variables. That&amp;#39;s really annoying, basically making the debugging feature of ARM processor unusable. 
 Is there any way to disable such assertion</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Mar 2021 13:27:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73300/softdevice-assertion-failed-while-debugging" /><item><title>RE: SOFTDEVICE: ASSERTION FAILED while debugging</title><link>https://devzone.nordicsemi.com/thread/302383?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 13:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b66e886a-5074-4fdd-977c-b14533a446f2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;One of the challenges when debugging with the Softdevice, or any other protocol stack with hard timing requirements for that matter, is that it will fail to meet those timing requirements if the CPU gets halted for too long. This means you can&amp;#39;t single step through application the code without raising this SD assert. &lt;/p&gt;
[quote user=""]check some variables[/quote]
&lt;p&gt;&amp;nbsp;You can put those variables in the &amp;quot;watch&amp;quot; list and have the debugger automatically poll the value every x seconds. Debug logging is also enabled by default in nearly all of our example projects. &lt;/p&gt;
[quote user=""]Is there any way to disable such assertion?[/quote]
&lt;p&gt;&amp;nbsp;It is possible if you use monitor mode debugging, please see this tutorial for more details: &lt;a href="https://github.com/NordicPlayground/j-link-monitoring-mode-debugging"&gt;https://github.com/NordicPlayground/j-link-monitoring-mode-debugging&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>